<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">
<script>
    (function () {
        if ('') {
            if (prompt('请输入文章密码') !== '') {
                alert('密码错误！');
                if (history.length === 1) {
                    location.replace("https://google.com"); // 这里替换成你的首页
                } else {
                    history.back();
                }
            }
        }
    })();
</script>








<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">










<meta property="og:type" content="website">
<meta property="og:title" content="苏生不惑的博客">
<meta property="og:url" content="http://yoursite.com/page/13/index.html">
<meta property="og:site_name" content="苏生不惑的博客">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="苏生不惑的博客">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://yoursite.com/page/13/">



<meta name="referrer" content="never"> ​​​​


  <title>苏生不惑的博客</title>
  








</head>

<body itemscope="" itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left 
  page-home">
    <div class="headband"></div>

    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">苏生不惑的博客</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle"></p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="/about/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br>
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            归档
          </a>
        </li>
      

      
        <li class="menu-item menu-item-search">
          
            <a href="javascript:;" class="popup-trigger">
          
            
              <i class="menu-item-icon fa fa-search fa-fw"></i> <br>
            
            搜索
          </a>
        </li>
      
    </ul>
  

  
    <div class="site-search">
      
  <div class="popup search-popup local-search-popup">
  <div class="local-search-header clearfix">
    <span class="search-icon">
      <i class="fa fa-search"></i>
    </span>
    <span class="popup-btn-close">
      <i class="fa fa-times-circle"></i>
    </span>
    <div class="local-search-input-wrapper">
      <input autocomplete="off" placeholder="搜索..." spellcheck="false" type="text" id="local-search-input">
    </div>
  </div>
  <div id="local-search-result"></div>
</div>



    </div>
  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            
  <section id="posts" class="posts-expand">
    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/30/如何让你的搜索更高效/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/30/如何让你的搜索更高效/" itemprop="url">如何让你的搜索更高效</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-30T19:15:48+08:00">
                2020-09-30
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.6k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  5 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第178 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>这周四就是国庆节长假了，大家的心情可能都是这样的。 </p>
<blockquote>
<p>举牌小人地址<a href="http://www.atoolbox.net/Tool.php?Id=789" target="_blank" rel="noopener">http://www.atoolbox.net/Tool.php?Id=789</a>  <a href="https://www.jiuwa.net/jupai/" target="_blank" rel="noopener">https://www.jiuwa.net/jupai/</a></p>
</blockquote>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-b52677d1aba5be2d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>关于搜索之前分享过 <a href="https://mp.weixin.qq.com/s/-5tZWfeWWa_E8jRCH0T_Cw" target="_blank" rel="noopener">那些你可能不知道的搜索奇技淫巧</a> ，<a href="https://mp.weixin.qq.com/s/0uOyrcz0KP-qZhCNNCELhw" target="_blank" rel="noopener">2020 最全百度网盘搜索，找电影资源不再愁</a> ，<a href="https://mp.weixin.qq.com/s/pt0hCthceThMZVU0Ht89AA" target="_blank" rel="noopener">2020 最全电子书搜索网站，找电子书不再愁</a> ，今天分享的是如何让你的搜索更高效。</p>
<p>先吐槽下，国内的互联网越来越不互联了，比如手机端看全文必须下载APP，有些产品（比如闲鱼）甚至没有网页端，robot.txt禁止搜索引擎抓取，把一个个APP的内容封闭起来，于是我们手机上安装的APP越来越多。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7fe2c5ac5eaa47a7.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-bf9a3444df44e74b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>能用网页版我是不会安装APP的，电脑键盘打字多爽，大屏幕多爽，这里还是要点赞下b站和知乎，搜索引擎可以很方便的找到内容，不下载APP也完全可以使用他们的产品。</p>
<h3 id="去广告"><a href="#去广告" class="headerlink" title="去广告"></a>去广告</h3><p>在百度搜索拼多多，第一个结果是个广告，居然不是拼多多官网，毕竟人家是给了钱的。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2b86cafe00049166.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>相比之下谷歌搜索就好多了，第一个就是官网，所以我一直推荐大家使用谷歌搜索和谷歌浏览器 ，谷歌还有很多产品 <a href="https://mp.weixin.qq.com/s/NYrs5cluZgjvm85MXmiaKA" target="_blank" rel="noopener">那些在国内还能使用的谷歌产品</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-8b6df78f92c572dd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>不过大多数人还是用百度居多，这里推荐一个 Chrome 扩展  广告终结者 ，它可以清除网页上的浮动广告，购物广告，恶意弹窗，跟踪代码，让你浏览网页更快更清爽， 而且支持绝大多数浏览器。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7bfc3ccbed2dbd16.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>Chrome扩展地址<a href="https://chrome.google.com/webstore/detail/%E5%B9%BF%E5%91%8A%E7%BB%88%E7%BB%93%E8%80%85/fpdnjdlbdmifoocedhkighhlbchbiikl?hl=zh-CN" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/%E5%B9%BF%E5%91%8A%E7%BB%88%E7%BB%93%E8%80%85/fpdnjdlbdmifoocedhkighhlbchbiikl?hl=zh-CN</a>  ，安装Chrome扩展方法见之前文章<a href="https://mp.weixin.qq.com/s/xC9K_z7zpmAIEzUK6s1x3w" target="_blank" rel="noopener">上不了谷歌如何安装 Chrome 扩展？</a></p>
<p>安装扩展后再次百度搜索没有垃圾广告了，第一个就是官网，搜索效率明显提高了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1f30fb3fb871dc88.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 除了去除网页广告，它还有个实用功能就是去除视频广告，比如腾讯，优酷，爱奇艺这样的影视网站， 45秒的开头广告 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d115b384e52e4e10.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>安装好这个扩展后再次打开爱奇艺可以看到广告一晃而过就开始播放视频，看我录制了的GIF。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b8d19786396fa0bf.gif?imageMogr2/auto-orient/strip" alt="iqiyi_ad.gif"></p>
<h3 id="搜索引擎快捷跳转"><a href="#搜索引擎快捷跳转" class="headerlink" title="搜索引擎快捷跳转"></a>搜索引擎快捷跳转</h3><p>这是个油猴脚本<a href="https://greasyfork.org/zh-CN/scripts/27752-searchenginejump" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/27752-searchenginejump</a> ，可以<br>方便的在各个搜索引擎之间跳转,增加可视化设置菜单,能更友好的自定义设置,修复百度搜索样式丢失的问题。</p>
<p>关于油猴脚本之前介绍过很多次了，公众号后台回复 <code>油猴</code> 获取，安装详情见文章<a href="https://mp.weixin.qq.com/s/4sCwNc4fz7IxlL8XfY95rQ" target="_blank" rel="noopener">实用油猴脚本推荐，让你的谷歌浏览器更强大</a></p>
<p>搜索框下方列出了网页，翻译，知识，图片，视频，音乐，社交，购物等搜索网站快捷方式，可以直接进入这些网站搜索对应关键词。<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-f9b66ae21241b356.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>对百度搜索同样有效。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-97262a2b2d93279c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>网址还可以自定义。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b6cfb10f4f34dc1e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="搜索黑名单"><a href="#搜索黑名单" class="headerlink" title="搜索黑名单"></a>搜索黑名单</h3><p>有时候不想在搜索结果看到某些网站，可以安装搜索过滤扩展 uBlacklist <a href="https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe/related，方便你搜索的时候不看某些垃圾网站的搜索结果。" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/ublacklist/pncfbmialoiaghdehhbnbhkkgmjanfhe/related，方便你搜索的时候不看某些垃圾网站的搜索结果。</a></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-7b848b3fbf40c2c0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>对于某些专门采集数据的垃圾网站，推荐安装扩展终结内容农场 <a href="https://chrome.google.com/webstore/detail/content-farm-terminator/lcghoajegeldpfkfaejegfobkapnemjl" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/content-farm-terminator/lcghoajegeldpfkfaejegfobkapnemjl</a>  ，在搜索结果会有标识 <a href="https://www.hotbak.net/" target="_blank" rel="noopener">https://www.hotbak.net/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-4c0c8bade2768560.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>打开后会有提示。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-875a3851db420a78.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="右键搜"><a href="#右键搜" class="headerlink" title="右键搜"></a>右键搜</h3><p>一个优秀的右键菜单 Chrome 扩展程序（公众号后台回复 <code>谷歌</code> 获取） <a href="https://github.com/xuender/cm/releases" target="_blank" rel="noopener">https://github.com/xuender/cm/releases</a>   <a href="https://www.lanzoux.com/iWgaXet03xe" target="_blank" rel="noopener">https://www.lanzoux.com/iWgaXet03xe</a> ，右键菜单增加了跳转扩展程序，书签管理，插件，创建短网址，生成二维码等功能。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-f1ecb1b00239ddef.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>菜单可以自定义。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-046214c566ef17c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="搜索技巧"><a href="#搜索技巧" class="headerlink" title="搜索技巧"></a>搜索技巧</h3><p>用<code>《》</code>来搜索书籍或者电影，比如 《明朝那些事儿》，如果搜电子书在书名关键词后加上文件格式，如 pdf/epub/mobi/azw3/txt等  比如 <code>明朝那些事儿 filetype:pdf</code>或者 <code>明朝那些事儿 inurl:pdf</code>，搜出的结果都是PDF文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b32856fd8db8c28f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>site 站点搜索，比如在b站搜索 周杰伦 <code>site:bilibili.com 周杰伦</code>，百度搜索工具里可以直接输入站点搜索，类似的语法还有查询天气 weather: 北京，查询股票stocks: 微博，查询地图map: 北京，查询电影movie: 夺冠，查询新闻源source: 国庆放假安排 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1e0cf117f5d5213c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>数字间隔搜索，比如2000年到2010年的奥斯卡 <code>奥斯卡 2000...2010</code><br><img src="https://upload-images.jianshu.io/upload_images/23152173-26110875ed59263a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>模糊搜索，比如想找一首歌，只记得歌词里的几个字，搜索 <code>*爱你很久</code>很轻易的找到周杰伦的《晴天》。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-be41ed93f1d36dbf.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>搜索允许目录浏览的网站，比如 <code>index of 电影</code>可以搜到很多人的私人网盘。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-801e5966f2ab9120.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>这个告诫我们千万别把自己的私人网盘放公网，万一放了某些不可描述的东西。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-58b3838e18c5005d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>更多谷歌浏览器的实用技巧见之前文章 <a href="https://mp.weixin.qq.com/s/J7Ml0NilN8Jd4s9C1gWoHw" target="_blank" rel="noopener">那些你可能不知道的谷歌浏览器实用技巧</a> </p>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/30/宝藏网站系列：这个网站号称万能/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/30/宝藏网站系列：这个网站号称万能/" itemprop="url">宝藏网站系列：这个网站号称万能</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-30T19:14:49+08:00">
                2020-09-30
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.2k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  4 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第177篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过宝藏网站 <a href="https://www.heji.ltd/" target="_blank" rel="noopener">https://www.heji.ltd/</a>  <a href="https://mp.weixin.qq.com/s/r8cV679rDZ0ppnCNG__vcw" target="_blank" rel="noopener">这个网站堪称宝藏，收藏起来吧</a> ，今天分享的是宝藏网站系列之万能命令<a href="https://wanneng.run/cn/" target="_blank" rel="noopener">https://wanneng.run/cn/</a> ,它将各种高质量的在线工具按应用站点聚合起来，让你以方便快捷好记的方式寻找和使用网页型在线工具 。</p>
<blockquote>
<p>浏览任意网页时，输入这个万能命令 wn.run/ 或点击一下固定的书签，就会展示出用于该网页的各种附加在线工具，比如 快速查看该网页历史存档(网页被删了找回)、下载该网页的视频音乐文件(默认无法下载或需要安装app登陆等)、快速网页翻译(默认手机端网页翻译会比较繁琐)、快速网页长截图、查看电商历史价格等，并且点击工具时一般会直达针对该网页的功能详情页。</p>
</blockquote>
<p>使用起来很简单，在任何网页的网址前面加上 wn.run/ 即可展示用于该网页的在线工具，比如 b站视频 <a href="https://www.bilibili.com/video/BV1ip4y1D7iY" target="_blank" rel="noopener">https://www.bilibili.com/video/BV1ip4y1D7iY</a> 加上后变成  <a href="https://wn.run/https://www.bilibili.com/video/BV1ip4y1D7iY" target="_blank" rel="noopener">https://wn.run/https://www.bilibili.com/video/BV1ip4y1D7iY</a> ，可以看到针对bilibili站点可用的在线工具。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-6d177711d8896839.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="视频音乐下载"><a href="#视频音乐下载" class="headerlink" title="视频音乐下载"></a>视频音乐下载</h3><p>推荐了parsevideo，videofk，视频鱼，ibilibili，kanbilibili，weibomiaopai 等下载网站，这里选择视频鱼 <a href="http://www.shipinyu.cn/video?url=https%3A%2F%2Fwww.bilibili.com%2Fvideo%2FBV1ip4y1D7iY&amp;page=video" target="_blank" rel="noopener">http://www.shipinyu.cn/video?url=https%3A%2F%2Fwww.bilibili.com%2Fvideo%2FBV1ip4y1D7iY&amp;page=video</a> ，在线就能下载b站视频了。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-1dbe5d493ac2b94e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="查历史价格"><a href="#查历史价格" class="headerlink" title="查历史价格"></a>查历史价格</h3><p>推荐了 tool168.cn，zhushou.huihui.cn 等在线查看商品历史价格，防止被商家先升价后降价促销。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-63202860bcf7259a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>支持淘宝、天猫、京东、苏宁、当当、网易考拉、亚马逊等商品网址。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ae2a68073bc6eccb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="网页翻译"><a href="#网页翻译" class="headerlink" title="网页翻译"></a>网页翻译</h3><p>推荐了搜狗翻译，百度翻译，谷歌翻译等网站。<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-8807b4110ed70361.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>输入网址可以全文翻译，看外文网站很需要。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-79ddda01aa21c82d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="查看网页历史记录"><a href="#查看网页历史记录" class="headerlink" title="查看网页历史记录"></a>查看网页历史记录</h3><p>推荐了2tool.top，web.archive.org 等查看网页历史记录网站，之前文章也介绍过 <a href="https://mp.weixin.qq.com/s/BddM3RzStg0Qos9cSrQXIw" target="_blank" rel="noopener">再谈备份网页和公众号文章</a>。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2edc9468c91251fc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>进入第一个可以看到这个b站视频在360和谷歌搜索有快照，如果这个视频删了 ，还能在快照里找到。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-0985f84c3a4fb790.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="查看当前站点油猴脚本"><a href="#查看当前站点油猴脚本" class="headerlink" title="查看当前站点油猴脚本"></a>查看当前站点油猴脚本</h3><p>推荐了b站可用的油猴脚本。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a202782dba5ee1ea.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>进入<a href="https://greasyfork.org/zh-CN/scripts/by-site/bilibili.com" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/by-site/bilibili.com</a> 可以看到适用b站的各种脚本 ，关于油猴脚本的强大可以看之前文章<a href="https://mp.weixin.qq.com/s/4sCwNc4fz7IxlL8XfY95rQ" target="_blank" rel="noopener">实用油猴脚本推荐，让你的谷歌浏览器更强大</a> ，强烈建议你安装使用。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-bbb57f54811dded4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="网页截图"><a href="#网页截图" class="headerlink" title="网页截图"></a>网页截图</h3><p>推荐了image.thum.io，screen.guru，web2pdfconvert.com 等在线截图网站。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-f1b8ec1300ecefdb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>实现了对网站在线截图，当然这个截图会有点慢，推荐使用之前分享的工具<a href="https://mp.weixin.qq.com/s/v9oHGz5GPoD0GLYaa80Hcg" target="_blank" rel="noopener">如何优雅的对网页截取长图</a><br> <img src="https://upload-images.jianshu.io/upload_images/23152173-e928e7cbc871d71e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="生成网址二维码"><a href="#生成网址二维码" class="headerlink" title="生成网址二维码"></a>生成网址二维码</h3><p>推荐了api.qrserver.com，cli.im 等在线生成二维码网站。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-f76d2290655b1607.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>这个b站视频生成的二维码效果如下。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9c0d86c28560fbe4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="网页转pdf"><a href="#网页转pdf" class="headerlink" title="网页转pdf"></a>网页转pdf</h3><p>推荐了web2pdfconvert.com，zh.pickfrom.net，tools.pdf24.org等在线生成网页PDF网站。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-681435ef307d7d16.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-43cc008976a5f367.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="生成短网址"><a href="#生成短网址" class="headerlink" title="生成短网址"></a>生成短网址</h3><p>推荐微博和suo.im短链接生成网站，比如生成一个 <a href="http://suo.im/6pSJxx" target="_blank" rel="noopener">http://suo.im/6pSJxx</a> ，有些平台禁止发布某些域名，可以尝试用短链接，关于短连接之前也写过文章 <a href="https://mp.weixin.qq.com/s/yCinlN4D7C-4117FIDxZCQ" target="_blank" rel="noopener">网址太长了难看？生成个短网址吧</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-ee410ab5a2513d47.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="网站工具"><a href="#网站工具" class="headerlink" title="网站工具"></a>网站工具</h3><p>推荐了alexa.com，seo.chinaz.com，<a href="http://www.aizhan.com" target="_blank" rel="noopener">www.aizhan.com</a> 等查看b站的网站排名。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-620e516126523532.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>b站ALEXA世界排名117，国内33，算是头部网站了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a284bd56a9e10764.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>更多工具可以查看 <a href="https://wanneng.run/fu/tags.php，这里列出了针对n多网站的工具。" target="_blank" rel="noopener">https://wanneng.run/fu/tags.php，这里列出了针对n多网站的工具。</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-04662fa598b7760a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>比如微博域名下的几十个工具 <a href="https://wanneng.run/fu/tool_list.php?site=weibo.com" target="_blank" rel="noopener">https://wanneng.run/fu/tool_list.php?site=weibo.com</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e30d8187a5cad3e1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/30/2020-最全电子书搜索网站，找电子书不再愁/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/30/2020-最全电子书搜索网站，找电子书不再愁/" itemprop="url">2020 最全电子书搜索网站，找电子书不再愁</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-30T19:13:46+08:00">
                2020-09-30
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.2k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  4 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第176 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过找电影电视剧网站 <a href="https://mp.weixin.qq.com/s/0uOyrcz0KP-qZhCNNCELhw" target="_blank" rel="noopener">2020 最全百度网盘搜索，找电影资源不再愁</a> ，今天再分享下找电子书资源网站。</p>
<h3 id="中文电子书"><a href="#中文电子书" class="headerlink" title="中文电子书"></a>中文电子书</h3><p><a href="https://www.jiumodiary.com/" target="_blank" rel="noopener">https://www.jiumodiary.com/</a>  鸠摩搜书这个电子书搜索引擎比较知名，搜索结果支持 epub，TXT，PDF，mobi等格式。<br><img src="https://upload-images.jianshu.io/upload_images/17817191-e07eadc0d597e852.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><a href="http://www.toplinks.cc/s/" target="_blank" rel="noopener">http://www.toplinks.cc/s/</a>  淘链客，主要收集文档类资源下载链接的聚合型搜索引擎网站，下载链接来自百度网盘、微盘、城通、蓝奏云等网盘及其他第三方网站。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1a18479edd768831.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><a href="https://www.kgbook.com/" target="_blank" rel="noopener">https://www.kgbook.com/</a>  电子书分享平台苦瓜书盘是供网友交流适合电纸书阅读的6寸pdf及mobi格式电子书制作技术的网站。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-08c3c96859d76d27.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><a href="http://www.banshujiang.cn/" target="_blank" rel="noopener">http://www.banshujiang.cn/</a> 搬书匠供大量编程类电子书免费下载，根据语音，数据库，年份等分类整理。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ea64c382056053db.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>号称最大的电子书库epubee  <a href="http://cn.epubee.com/books/" target="_blank" rel="noopener">http://cn.epubee.com/books/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e835a6b0657063de.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="英文电子书"><a href="#英文电子书" class="headerlink" title="英文电子书"></a>英文电子书</h3><p><a href="http://www.qcenglish.com/" target="_blank" rel="noopener">http://www.qcenglish.com/</a>  一个英文电子书下载站七彩英语 ，支持PDF和TXT格式，提供2249本英文原版原著下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-39f840fbc699b7f8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> <a href="http://gen.lib.rus.ec/" target="_blank" rel="noopener">http://gen.lib.rus.ec/</a>   一个文献在线查询和下载的公益网站Library Genesis ，主要是英文原版的电子书和期刊论文，据说藏书多达100万本，其中也有少量的中文资料 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-0ef0d79d207448b9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>其他类似网站还有 <a href="http://www.gutenberg.org/" target="_blank" rel="noopener">http://www.gutenberg.org/</a> ，<a href="http://manybooks.net，https://b-ok.cc/" target="_blank" rel="noopener">http://manybooks.net，https://b-ok.cc/</a> 。</p>
<h3 id="在线图书馆"><a href="#在线图书馆" class="headerlink" title="在线图书馆"></a>在线图书馆</h3><p><a href="https://zh.booksc.org/" target="_blank" rel="noopener">https://zh.booksc.org/</a>  booksc是世界上最大的在线图书馆之一，拥有超过533万册书籍以及7752万个文献，大多是pdf、djvu、eupb格式，直接搜书名或文章题目即可搜索下载，无需注册，很方便。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-beacef736ad2b6fd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><a href="https://pup6.yunzhan365.com/bookcase/kiru/index.html" target="_blank" rel="noopener">https://pup6.yunzhan365.com/bookcase/kiru/index.html</a> 北大出版社电子教材书架，目前提供 680 多册不同专业的教材，支持关键词搜索，也可以按学科进行筛选。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-64372f94eea12175.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>在线阅读效果不错。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9c044440698982ea.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> <a href="http://www.ndlib.cn/" target="_blank" rel="noopener">http://www.ndlib.cn/</a> 数字图书馆推广工程汇集国内各省市图书馆，提供免费的图书、杂志、有声读物在线浏览，分类齐全，资源众多，可切换国内任一家图书馆。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d5071cfa3391ad91.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>与各大高校图书馆合作的全国图书馆参考咨询联盟 <a href="http://www.ucdrs.superlib.net/" target="_blank" rel="noopener">http://www.ucdrs.superlib.net/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-9463ee26be9f2526.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="电子书网站导航"><a href="#电子书网站导航" class="headerlink" title="电子书网站导航"></a>电子书网站导航</h3><p><a href="https://ebook.chongbuluo.com/" target="_blank" rel="noopener">https://ebook.chongbuluo.com/</a> 虫部落集合了几十个电子书网站，切换到对应网站搜索即可。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-30aff5aa4edfa373.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><a href="https://ebook.huzerui.com/" target="_blank" rel="noopener">https://ebook.huzerui.com/</a>  熊猫搜书聚合了 22 个高质量电子书搜索网站 ，提供 mobi、epud、pdf、txt，kindle等格式下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8f3e3029b3e02bb5.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> <a href="http://shu.ziyuandi.cn" target="_blank" rel="noopener">http://shu.ziyuandi.cn</a>  电子书资源帝，集合了上百个电子书网站。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-312dd8ae452368fa.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="油猴脚本"><a href="#油猴脚本" class="headerlink" title="油猴脚本"></a>油猴脚本</h3><p>关于油猴脚本之前分享过很多了<a href="https://mp.weixin.qq.com/s/4sCwNc4fz7IxlL8XfY95rQ" target="_blank" rel="noopener">实用油猴脚本推荐，让你的谷歌浏览器更强大</a>  ， 油猴脚本豆瓣资源下载大师让你 1 秒搞定豆瓣电影 | 音乐 | 图书下载 <a href="https://greasyfork.org/zh-CN/scripts/329484" target="_blank" rel="noopener">https://greasyfork.org/zh-CN/scripts/329484</a> 。</p>
<p>安装脚本后在豆瓣图书 <a href="https://book.douban.com/subject/3674537/" target="_blank" rel="noopener">https://book.douban.com/subject/3674537/</a> 右侧可以看到推荐的搜索结果相当全面，包含在线阅读，图书搜索·，免费图书网站，在线听书，再也不用你一个个搜索了，之前文章也介绍过 <a href="https://mp.weixin.qq.com/s/leF2Dn9XW6sIp1SkPBFthw" target="_blank" rel="noopener">搜不到你想看的书/音乐/电影？一个油猴脚本帮你搞定</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-6e6f4358c1d8ec54.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="搜索引擎"><a href="#搜索引擎" class="headerlink" title="搜索引擎"></a>搜索引擎</h3><p>如果上面那么多网站还没找到，还有万能的谷歌，搜电子书时，在书名关键词后加上文件格式，如 pdf/epub/mobi/azw3/txt等  比如 <code>明朝那些事儿 filetype:pdf</code>，搜出的结果都是PDF文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b32856fd8db8c28f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>每本书都有国际标准书号 isbn 号 ,比如 《乌合之众》为 9787801093660 <a href="https://book.douban.com/subject/1012611/" target="_blank" rel="noopener">https://book.douban.com/subject/1012611/</a> ，直接搜索 <code>inurl:9787801093660</code> 可找到这本书。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d52f97a2a71395e3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 最后推荐个网站 一生必读的100 本书 <a href="https://www.100ben.net/" target="_blank" rel="noopener">https://www.100ben.net/</a> ，收录了世界名著，全球知名小说和传记等，可在线查看 ​​​​。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-1feb45045400adf3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/30/下载b站外挂字幕-用-potplayer-播放器播放视频也能看字幕了/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/30/下载b站外挂字幕-用-potplayer-播放器播放视频也能看字幕了/" itemprop="url">下载b站外挂字幕,用 potplayer 播放器播放视频也能看字幕了</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-30T19:10:47+08:00">
                2020-09-30
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.4k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  5 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第175 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>关于b站之前已经写过很多文章了，有兴趣可以点击阅读：</p>
<p><a href="https://mp.weixin.qq.com/s/I3LR8ikHoX80WjaMCoMVlw" target="_blank" rel="noopener">bilibili(b站)升级到BV号了，还想用av号怎么办？</a></p>
<p><a href="https://mp.weixin.qq.com/s/HpuInXUCjSYT7HLqhoRcCA" target="_blank" rel="noopener">那些你可能不知道的 bilibili 奇技淫巧</a></p>
<p><a href="https://mp.weixin.qq.com/s/3rB23e9L55hDBaPLDu6WMg" target="_blank" rel="noopener">如何轻松下载腾讯/微博/优酷/爱奇艺/b站等全网视频？</a></p>
<p><a href="https://mp.weixin.qq.com/s/a_lxHOQVA9RR_dYyzr56Gw" target="_blank" rel="noopener">如何更优雅地使用 bilibili(b站)</a></p>
<p><a href="https://mp.weixin.qq.com/s/i53iORP49o_4eRGGQEthsg" target="_blank" rel="noopener">如何找回bilibili(b站)收藏夹里失效的视频？</a></p>
<p><a href="https://mp.weixin.qq.com/s/UtfjurjQOCBFdxNhh-rFSA" target="_blank" rel="noopener">如何免登陆观看b站大会员番剧</a></p>
<p><a href="https://mp.weixin.qq.com/s/tlV7G943bHP5WqZeuaOolw" target="_blank" rel="noopener">借助 potplayer 播放器，在本地播放 b 站视频也能看弹幕了</a></p>
<p>今天分享的是下载b站外挂字幕 ，在本地用 potplayer 播放器播放b站视频也能看字幕了，需要用到 potplayer 播放器 （公众号后台回复 <code>播放器</code> 获取软件）和字幕文件。</p>
<h3 id="b站字幕"><a href="#b站字幕" class="headerlink" title="b站字幕"></a>b站字幕</h3><p>b站的外挂字幕是2018年上线的，详情看官方文章 <a href="https://www.bilibili.com/read/cv1374773/" target="_blank" rel="noopener">https://www.bilibili.com/read/cv1374773/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e387b48731bbd458.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>b站的外挂CC字幕其实就是个 srt 文件，这是一种非常流行的文本字幕，内容为一行时间，一行字幕，制作规范非常简单。</p>
<p>有字幕的视频可以在底部看见cc字样（客户端也有），比如这个 <a href="https://www.bilibili.com/video/BV1Jt411P77c?p=2" target="_blank" rel="noopener">https://www.bilibili.com/video/BV1Jt411P77c?p=2</a> 有中英文字幕，对于没有字幕的视频还可以自己添加字幕（ass格式文），up主审核通过后就可以看到了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6d5fe56b08116430.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>通过控制台可以找到字幕json文件<a href="https://i0.hdslb.com/bfs/subtitle/9d71b0913bed9966fcccb99d211208d31290ad09.json" target="_blank" rel="noopener">https://i0.hdslb.com/bfs/subtitle/9d71b0913bed9966fcccb99d211208d31290ad09.json</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-62eefb17b96f2aa4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>可以看到字幕文件内容。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7a434bfe35330fbe.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="下载字幕"><a href="#下载字幕" class="headerlink" title="下载字幕"></a>下载字幕</h3><p>找到字幕文件就很好下载了，不过这个字幕文件是json格式，我们需要的是srt格式，因此需要转换下，这里可以使用Python脚本 <a href="https://github.com/taseikyo/backup-utils/blob/master/Python/008_download_and_convert_b23_subtitle.py" target="_blank" rel="noopener">https://github.com/taseikyo/backup-utils/blob/master/Python/008_download_and_convert_b23_subtitle.py</a>   来完成。</p>
<p>直接输入b站地址执行脚本下载，本地会生成一个srt文件。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">λ python bilibili.py</span><br><span class="line">请输入b站地址:https:<span class="comment">//www.bilibili.com/video/BV1Jt411P77c?p=2</span></span><br></pre></td></tr></table></figure></p>
<p>当然用代码还是有点麻烦，已经有油猴脚本了 <a href="https://greasyfork.org/zh-TW/scripts/378513-bilibili-cc%E5%AD%97%E5%B9%95%E5%B7%A5%E5%85%B7" target="_blank" rel="noopener">https://greasyfork.org/zh-TW/scripts/378513-bilibili-cc%E5%AD%97%E5%B9%95%E5%B7%A5%E5%85%B7</a> ，关于油猴脚本下载使用参考之前文章<a href="https://mp.weixin.qq.com/s/4sCwNc4fz7IxlL8XfY95rQ" target="_blank" rel="noopener">实用油猴脚本推荐，让你的谷歌浏览器更强大</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-33726f502e7c1c97.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>点击下载可以看到字幕内容，下载格式支持ass,srt等。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9020f51999e53eca.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果你觉得安装油猴插件还是麻烦推荐这个用于下载B站CC字幕及转换的工具BiliBiliCCSubtitle （公众号后台回复 <code>b站</code> 获取） <a href="https://github.com/nathanli97/BiliBiliCCSubtitle" target="_blank" rel="noopener">https://github.com/nathanli97/BiliBiliCCSubtitle</a></p>
<p>在命令行执行 ccdown.exe -d -c  <a href="https://www.bilibili.com/video/BV1Jt411P77c?p=2" target="_blank" rel="noopener">https://www.bilibili.com/video/BV1Jt411P77c?p=2</a> 即可下载json格式和srt格式字幕文件。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">λ ccdown.exe -d -c https:<span class="comment">//www.bilibili.com/video/BV1Jt411P77c?p=2</span></span><br><span class="line">Bilibili <span class="built_in">JSON</span> format CC subtitle downloader Ver <span class="number">1.1</span><span class="number">.0</span> by Nathanli97</span><br><span class="line">Found: zh-Hans 中文（简体）  ==&gt; AV60977932(BV1Jt411P77c)-P2-zh-Hans.json</span><br><span class="line">AV60977932(BV1Jt411P77c)-P2-zh-Hans.json ==&gt; AV60977932(BV1Jt411P77c)-P2-zh-Hans.srt</span><br><span class="line">Found: en-US 英语（美国）  ==&gt; AV60977932(BV1Jt411P77c)-P2-en-US.json</span><br><span class="line">AV60977932(BV1Jt411P77c)-P2-en-US.json ==&gt; AV60977932(BV1Jt411P77c)-P2-en-US.srt</span><br></pre></td></tr></table></figure></p>
<h3 id="下载视频"><a href="#下载视频" class="headerlink" title="下载视频"></a>下载视频</h3><p>下载字幕后再下载b站视频，之前已经分享过工具 <a href="https://mp.weixin.qq.com/s/3rB23e9L55hDBaPLDu6WMg" target="_blank" rel="noopener">如何轻松下载腾讯/微博/优酷/爱奇艺/b站等全网视频？</a> ，我喜欢用命令行下载。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">λ annie -f <span class="number">16</span> https:<span class="comment">//www.bilibili.com/video/BV1Jt411P77c?p=2</span></span><br><span class="line"></span><br><span class="line"> Site:      哔哩哔哩 bilibili.com</span><br><span class="line"> Title:     普林斯顿大学丨算法第四版  Princeton University 丨 Algorithms Part <span class="number">1</span> P2 <span class="number">01</span>_dynamic-co</span><br><span class="line">nnectivity 动态连通性</span><br><span class="line"> Type:      video</span><br><span class="line"> Stream:</span><br><span class="line">     [<span class="number">16</span>]  -------------------</span><br><span class="line">     Quality:         流畅 <span class="number">360</span>P</span><br><span class="line">     Size:            <span class="number">21.35</span> MiB (<span class="number">22385288</span> Bytes)</span><br><span class="line">     # download with: annie -f 16 ...</span><br><span class="line"></span><br><span class="line"> <span class="number">21.35</span> MiB / <span class="number">21.35</span> MiB [================================================] <span class="number">100.00</span>% <span class="number">3.08</span> MiB/s <span class="number">6</span>s Merging video parts into 普林斯顿大学丨算法第四版  Princeton University 丨 Algorithms Part <span class="number">1</span> P2</span><br><span class="line"><span class="number">01</span>_dynamic-connectivity 动态连通性.mp4</span><br></pre></td></tr></table></figure></p>
<p>下载字幕和视频文件后，将字幕和视频文件名改成一样，比如<code>普林斯顿大学丨算法第四版.mp4</code> 和 <code>普林斯顿大学丨算法第四版.srt</code>，播放 视频就能看到字幕了 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-22a7d123432888a1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果还想看弹幕参考之前文章 <a href="https://mp.weixin.qq.com/s/tlV7G943bHP5WqZeuaOolw" target="_blank" rel="noopener">借助 potplayer 播放器，在本地播放 b 站视频也能看弹幕了</a> 下载弹幕文件也能看了。</p>
<p>除了工具还有在线网站下载<a href="https://wivwiv.com/youtube" target="_blank" rel="noopener">https://wivwiv.com/youtube</a> ，不过只支持av号地址<a href="https://www.bilibili.com/video/av60977932?p=2" target="_blank" rel="noopener">https://www.bilibili.com/video/av60977932?p=2</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-1fd69f8486e565ec.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>最后分享个神器彩云小译Chrome扩展 <a href="https://chrome.google.com/webstore/detail/lingocloud-web-translatio/jmpepeebcbihafjjadogphmbgiffiajh" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/lingocloud-web-translatio/jmpepeebcbihafjjadogphmbgiffiajh</a>  ，这个扩展能让你看外文视频的时候自动翻译为中文，安装Chrome扩展见之前文章 <a href="https://mp.weixin.qq.com/s/xC9K_z7zpmAIEzUK6s1x3w" target="_blank" rel="noopener">上不了谷歌如何安装 Chrome 扩展？</a> ，安装扩展后可以看到视频翻译。</p>
<p> <img src="https://upload-images.jianshu.io/upload_images/23152173-9a56c965a0649d7f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>点击视频翻译后开启音频识别 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-d91f4144e6eeade2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>比如这个视频（其实不限制于b站，任何视频网站都可以） <a href="https://www.bilibili.com/video/BV1g7411K7ut" target="_blank" rel="noopener">https://www.bilibili.com/video/BV1g7411K7ut</a>  ，可以实时看到下面翻译的中文字幕，效果不错。<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-e97d443dd10ba7c3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/18/王菲k歌又上微博热搜，Python分析下微博网友评论/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/18/王菲k歌又上微博热搜，Python分析下微博网友评论/" itemprop="url">王菲k歌又上微博热搜，Python分析下微博网友评论</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-18T18:55:47+08:00">
                2020-09-18
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  780 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  2 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第174篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>最近<code>王菲状态</code>话题上了微博热搜 <a href="https://weibo.com/1266269835/JjRLJ4Ygi" target="_blank" rel="noopener">https://weibo.com/1266269835/JjRLJ4Ygi</a>  <a href="https://weibo.com/6598655984/JjRSUrBi7" target="_blank" rel="noopener">https://weibo.com/6598655984/JjRSUrBi7</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-bdcf67d97fe77607.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-dffa3aaa4dc4e311.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>还和马云合唱了 <code>如果云知道</code> <a href="https://weibo.com/1956700750/JjWgLhrau" target="_blank" rel="noopener">https://weibo.com/1956700750/JjWgLhrau</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-b65dcef181b4d380.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>5年不更新的微博下评论开始求开演唱会 <a href="https://weibo.com/1629810574/C8FqitZ9X" target="_blank" rel="noopener">https://weibo.com/1629810574/C8FqitZ9X</a> </p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-d8962c2996d0cab8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-299e9dcaadd262b1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="微博评论.png"></p>
<p>于是用Python抓取了下这条微博下的评论（前几十页评论），微博有4个域名： 网页版weibo.com ，手机端 m.weibo.com，移动端weibo.cn ，h5端 m.weibo.cn ，这里用网页版为例，打开控制台可以抓取到评论接口<br><a href="https://weibo.com/aj/v6/comment/big?ajwvr=6&amp;id=3820658587146613" target="_blank" rel="noopener">https://weibo.com/aj/v6/comment/big?ajwvr=6&amp;id=3820658587146613</a> </p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-ca7c0b3767163909.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>同样的移动端 <a href="https://weibo.cn/search/?tf=5_012" target="_blank" rel="noopener">https://weibo.cn/search/?tf=5_012</a> 搜王菲可以找到这条微博<a href="https://weibo.cn/comment/C8FqitZ9X" target="_blank" rel="noopener">https://weibo.cn/comment/C8FqitZ9X</a> ，评论也在一块。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7f4aedf7043723d3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>还有h5端 <a href="https://m.weibo.cn/detail/3820658587146613" target="_blank" rel="noopener">https://m.weibo.cn/detail/3820658587146613</a> 抓取到接口<a href="https://m.weibo.cn/comments/hotflow?id=3820658587146613&amp;mid=3820658587146613&amp;max_id=232827256891053&amp;max_id_type=0" target="_blank" rel="noopener">https://m.weibo.cn/comments/hotflow?id=3820658587146613&amp;mid=3820658587146613&amp;max_id=232827256891053&amp;max_id_type=0</a></p>
<p>有了接口地址，数据就很好抓取了，这里写入文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-20e98ad0113f3408.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>然后用wordcloud对微博评论生成词云图，主要关键词是好听，菲姐，演唱会，真的很期待王菲再开演唱会。<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-e1ddb1cc63bad39e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>也可以通过网站 <a href="http://cloud.niucodata.com/" target="_blank" rel="noopener">http://cloud.niucodata.com/</a>  生成，上传文字即可。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6f3d43be8c4a89a9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>另外我用Chrome扩展备份了王菲1500多条微博，详情见之前文章<a href="https://mp.weixin.qq.com/s/AUS5oCukv8hIFZIjO2Drjg" target="_blank" rel="noopener">用Chrome扩展一键备份微博</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e146f88412a00c19.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>如果需要备份文件在公众号后台回复 <code>微博</code>  获取<a href="https://www.lanzoux.com/iIFWcgjb79c" target="_blank" rel="noopener">https://www.lanzoux.com/iIFWcgjb79c</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-f67f7bb499f90d1b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>天后已经很久不出专辑了，自从去年发了一首单曲《我和我的祖国》快过去一年了，不过即使20年前的歌今天依然在传唱 <a href="https://mp.weixin.qq.com/s/F4P2w0FTE97CdP1YlcFhrw" target="_blank" rel="noopener">王菲51岁：爱她，不只是因为她的歌</a>，比如《红豆》<br><a href="https://music.163.com/#/song?id=299936，可惜目前在网易云音乐需要VIP才能听，如果不想花钱看看之前文章[一键解锁网易云音乐变灰歌曲](https://mp.weixin.qq.com/s/BSfjFnv54EAHmc6eE75T9g)" target="_blank" rel="noopener">https://music.163.com/#/song?id=299936，可惜目前在网易云音乐需要VIP才能听，如果不想花钱看看之前文章[一键解锁网易云音乐变灰歌曲](https://mp.weixin.qq.com/s/BSfjFnv54EAHmc6eE75T9g)</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-decd62282247fd9e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>这里抓取前200页的评论生成词云图，我也很喜欢这首歌。  评论接口地址<a href="http://music.163.com/api/v1/resource/comments/R_SO_4_299936?limit=20&amp;offset=0" target="_blank" rel="noopener">http://music.163.com/api/v1/resource/comments/R_SO_4_299936?limit=20&amp;offset=0</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e2a7dc9ffeee3675.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<blockquote>
<p>你喜欢听王菲吗？喜欢她哪首歌，可以在文末留言。</p>
</blockquote>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/18/那些有趣的网站系列（五）/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/18/那些有趣的网站系列（五）/" itemprop="url">那些有趣的网站系列（五）</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-18T18:54:28+08:00">
                2020-09-18
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  851 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  3 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第173篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过  <a href="https://mp.weixin.qq.com/s/ThUw9i43paFhXfPxF8mvyQ" target="_blank" rel="noopener">那些有趣的网站</a> ，<a href="https://mp.weixin.qq.com/s/wTgYpovJrJh8_Zj1h6EbzA" target="_blank" rel="noopener">那些有趣的网站（二）</a>，<a href="https://mp.weixin.qq.com/s/GgNmAY0LUHES3z2IB_5QkQ" target="_blank" rel="noopener">那些有趣的网站系列（三）</a>，<a href="https://mp.weixin.qq.com/s/seFzUO4MVcNw8kkXTufMtA" target="_blank" rel="noopener">那些有趣的网站系列（四）</a>，这是系列第5篇。</p>
<h3 id="查看下载历史"><a href="#查看下载历史" class="headerlink" title="查看下载历史"></a>查看下载历史</h3><p>输入ip地址能查到它的  p2p 下载历史 ，查了下某个地址，简直辣眼睛，不得不打码 <a href="https://iknowwhatyoudownload.com/en/peer/" target="_blank" rel="noopener">https://iknowwhatyoudownload.com/en/peer/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-21fac218b7f3948d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="英超地图"><a href="#英超地图" class="headerlink" title="英超地图"></a>英超地图</h3><p>可视化展示了从 1992-2020 每个赛季的英超球队主场分布<br><a href="http://ggdg.gitee.io/map_of_the_premier_league/" target="_blank" rel="noopener">http://ggdg.gitee.io/map_of_the_premier_league/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-eb9578c7441a23f0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="1.png"></p>
<h3 id="多图合成-GIF"><a href="#多图合成-GIF" class="headerlink" title="多图合成 GIF"></a>多图合成 GIF</h3><p> 将多张图片合成为GIF，还可以调节速度，设置背景，尺寸，添加文字特效 <a href="https://tt0.top/img2gif/" target="_blank" rel="noopener">https://tt0.top/img2gif/</a><br><a href="http://www.yingjingtu.com/createGIF" target="_blank" rel="noopener">http://www.yingjingtu.com/createGIF</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-a72492d3e03d8010.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>合成效果GIF图。一个在线 GIF 编辑<a href="https://gifsuper.com/" target="_blank" rel="noopener">https://gifsuper.com/</a> <a href="http://www.gifntext.com/" target="_blank" rel="noopener">http://www.gifntext.com/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-2981b3ef43535bf1.gif?imageMogr2/auto-orient/strip" alt="tt0.top-471100.gif"></p>
<h3 id="生成条形竞赛图动画"><a href="#生成条形竞赛图动画" class="headerlink" title="生成条形竞赛图动画"></a>生成条形竞赛图动画</h3><p>只需要上传csv数据文件（分号隔开）就能生成目前流行的条形竞赛图动画  <a href="https://fabdevgit.github.io/barchartrace/" target="_blank" rel="noopener">https://fabdevgit.github.io/barchartrace/</a>  <a href="https://www.appinn.com/bar-chart-race-generator/" target="_blank" rel="noopener">https://www.appinn.com/bar-chart-race-generator/</a></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-a9c5db1a5e0b5c51.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>生成的GIF效果图。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-cffd202f22fe2e08.gif?imageMogr2/auto-orient/strip" alt="chart.gif"></p>
<h3 id="你对ios系统有多了解"><a href="#你对ios系统有多了解" class="headerlink" title="你对ios系统有多了解"></a>你对ios系统有多了解</h3><p>来测试下你对ios系统有多了解 <a href="https://sspai.com/page/wwdc20_ios/exam" target="_blank" rel="noopener">https://sspai.com/page/wwdc20_ios/exam</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-ff759757bfaa97e0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>比如初代iPhone默认的锁屏壁纸是左边还是右边的？<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c6c460bac45a7495.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="北京话大辞典"><a href="#北京话大辞典" class="headerlink" title="北京话大辞典"></a>北京话大辞典</h3><p>可以输入汉字或者拼音查询北京话的具体含义，比如 倍儿 是特别的意思。<a href="https://www.beijinghuadacidian.com/" target="_blank" rel="noopener">https://www.beijinghuadacidian.com/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-05de333a322a1cd8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="证件照换底色"><a href="#证件照换底色" class="headerlink" title="证件照换底色"></a>证件照换底色</h3><p>智能证件照生成，证件照换底色，可以设置白色，红色，蓝色，透明 <a href="https://www.mfpng.com/" target="_blank" rel="noopener">https://www.mfpng.com/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-e779ebf20b2d4676.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="期刊杂志搜索"><a href="#期刊杂志搜索" class="headerlink" title="期刊杂志搜索"></a>期刊杂志搜索</h3><p>学生时代都看过 读者文摘，意林，知音类似的杂志吧，这个网站可以在线搜索查看 <a href="http://new-qk.lifves.com/index.php" target="_blank" rel="noopener">http://new-qk.lifves.com/index.php</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-0393206417ab92a0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>比如最新2020第17期读者，可以在线浏览，右侧还有只会动的小猫咪。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-93ae7a581f5af5b8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="scihub-最新网址"><a href="#scihub-最新网址" class="headerlink" title="scihub 最新网址"></a>scihub 最新网址</h3><p>Sci.hub是一个开源学术数据库，上面免费提供了超过62,000,000篇科学论文和文章， <a href="https://sci-hub.now.sh/" target="_blank" rel="noopener">https://sci-hub.now.sh/</a> 这个网站可以获取最新可用网址 ，<a href="https://whereisscihub.now.sh/" target="_blank" rel="noopener">https://whereisscihub.now.sh/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-c62cc90a7cfbcea9.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>比如可用的 <a href="https://sci-hub.se/" target="_blank" rel="noopener">https://sci-hub.se/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-4f90984be27d5434.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="查找同类网站"><a href="#查找同类网站" class="headerlink" title="查找同类网站"></a>查找同类网站</h3><p>查找同类网站，比如b站 <a href="https://www.similarsites.com/site/bilibili.com" target="_blank" rel="noopener">https://www.similarsites.com/site/bilibili.com</a> 的同类a站，油管，可以给找电影/竞争对手提供一个思路。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-639194d276bf336d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="随机博客"><a href="#随机博客" class="headerlink" title="随机博客"></a>随机博客</h3><p>随机跳转到某一博客，也许能发现一个有意思的博客  <a href="https://neyu.com/blog.html" target="_blank" rel="noopener">https://neyu.com/blog.html</a> ，这个随机有点类似 今天中午吃什么 <a href="https://www.zwcsm.com/" target="_blank" rel="noopener">https://www.zwcsm.com/</a>  ，随机一只狗<a href="https://shibe.online/" target="_blank" rel="noopener">https://shibe.online/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-283be05d684263e4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/18/如何用Python批量下载知乎回答图片/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/18/如何用Python批量下载知乎回答图片/" itemprop="url">如何用Python批量下载知乎回答图片</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-18T18:52:04+08:00">
                2020-09-18
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.4k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  5 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第172 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>这两天刷知乎看到腾讯的一个回答 有什么可爱的微信头像 ？<a href="https://www.zhihu.com/question/310335618/answer/602970433，分享了上百张QQ高清经典头像。" target="_blank" rel="noopener">https://www.zhihu.com/question/310335618/answer/602970433，分享了上百张QQ高清经典头像。</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-9b3ae90a50366c15.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>于是想着一次性下载下来（公众号后台回复 <code>知乎</code> 获取下载的QQ头像），下面分享几个批量下载图片工具。<a href="https://www.lanzoux.com/iKPVcgfdpji" target="_blank" rel="noopener">https://www.lanzoux.com/iKPVcgfdpji</a> </p>
<h3 id="Fatkun"><a href="#Fatkun" class="headerlink" title="Fatkun"></a>Fatkun</h3><p>Fatkun是一款内嵌到浏览器的工具；可以帮你方便地从任意网站上批量采集喜欢的图片并迅速完成筛选和保存 <a href="http://web.fatkun.cn/extension.html" target="_blank" rel="noopener">http://web.fatkun.cn/extension.html</a> ，支持Chrome、360、QQ、2345、百度、UC、猎豹等所有chrome内核浏览器及Firefox浏览器。</p>
<p>这里下载的是Chrome扩展，安装Chrome扩展方法见之前文章 <a href="https://mp.weixin.qq.com/s/xC9K_z7zpmAIEzUK6s1x3w" target="_blank" rel="noopener">上不了谷歌如何安装 Chrome 扩展</a></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-7acbd79ead520ddd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>先拉到网页底部，右键选择批量下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2b39230dcf38d36b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>看到有238张图。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8b6e83e3e13a18cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>全选图片，点下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1910dcae140f21b4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>很快图片就下载好了，下载目录打开 chrome://downloads/ 可以看到。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c6912296921cb9f3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>也可以导出所有图片链接 ，格式改为 {LINK} 就是纯链接了，然后用idm这种软件批量下载。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-5d00a84a82dc2bd4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> 类似的Chrome扩展还有 图片助手 <a href="https://chrome.google.com/webstore/detail/imageassistant-batch-imag/dbjbempljhcmhlfpfacalomonjpalpko?hl=zh-CN" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/imageassistant-batch-imag/dbjbempljhcmhlfpfacalomonjpalpko?hl=zh-CN</a> ，右键提取图片。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1c803bfb109024ee.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>可以根据图片类型，打消过滤选择下载的图片。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ff0b968ae1845b7c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="imagecyborg"><a href="#imagecyborg" class="headerlink" title="imagecyborg"></a>imagecyborg</h3><p><a href="https://imagecyborg.com/" target="_blank" rel="noopener">https://imagecyborg.com/</a> 这是个在线网站，输入知乎回答链接即可下载图片。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-44303112ce6e473f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>下载的图片在一个zip压缩包内，不过国外的网站有点慢。<br><img src="https://upload-images.jianshu.io/upload_images/17817191-650771fa5f6c1ac4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="Python脚本下载"><a href="#Python脚本下载" class="headerlink" title="Python脚本下载"></a>Python脚本下载</h3><p>知乎有接口可以获取回答内容，所以使用Python下载就很简单了。</p>
<p>单个回答接口  <a href="https://www.zhihu.com/api/v4/answers/602970433?include=is_normal,is_sticky,collapsed_by,suggest_edit,comment_count,collapsed_counts,reviewing_comments_count,can_comment,content,editable_content,voteup_count,reshipment_settings,comment_permission,mark_infos,created_time,updated_time,relationship.is_author,voting,is_thanked,is_nothelp,upvoted_followees;author.is_blocking,is_blocked,is_followed,voteup_count,message_thread_token,badge[?(type=best_answerer)].topics" target="_blank" rel="noopener">https://www.zhihu.com/api/v4/answers/602970433?include=is_normal,is_sticky,collapsed_by,suggest_edit,comment_count,collapsed_counts,reviewing_comments_count,can_comment,content,editable_content,voteup_count,reshipment_settings,comment_permission,mark_infos,created_time,updated_time,relationship.is_author,voting,is_thanked,is_nothelp,upvoted_followees;author.is_blocking,is_blocked,is_followed,voteup_count,message_thread_token,badge[?(type=best_answerer)].topics</a>  可以看到content就是回答内容，图片地址也都在里面。</p>
<p> <img src="https://upload-images.jianshu.io/upload_images/23152173-64dea9614f0d5c6d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>简单的代码如下：<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> urllib</span><br><span class="line"><span class="keyword">import</span> requests</span><br><span class="line"><span class="keyword">from</span> pyquery <span class="keyword">import</span> PyQuery <span class="keyword">as</span> pq</span><br><span class="line"><span class="keyword">import</span> os</span><br><span class="line"><span class="keyword">from</span> hashlib <span class="keyword">import</span> md5</span><br><span class="line"><span class="keyword">from</span> multiprocessing.pool <span class="keyword">import</span> Pool</span><br><span class="line">#python爬取知乎回答图片 https://zhuanlan.zhihu.com/p/43408400  https://www.zhihu.com/question/310335618/answer/602970433</span><br><span class="line">url = <span class="string">'https://www.zhihu.com/api/v4/answers/602970433?include=is_normal,is_sticky,collapsed_by,suggest_edit,comment_count,collapsed_counts,reviewing_comments_count,can_comment,content,editable_content,voteup_count,reshipment_settings,comment_permission,mark_infos,created_time,updated_time,relationship.is_author,voting,is_thanked,is_nothelp,upvoted_followees;author.is_blocking,is_blocked,is_followed,voteup_count,message_thread_token,badge[?(type=best_answerer)].topics'</span></span><br><span class="line">headers = &#123;</span><br><span class="line">        <span class="string">'Accept'</span>: <span class="string">"application/json, text/javascript, */*; q=0.01"</span>,</span><br><span class="line">        <span class="string">'User-Agent'</span>: <span class="string">"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"</span>,</span><br><span class="line">        <span class="string">'Referer'</span>: <span class="string">'https://www.zhihu.com/api/v4/questions/602970433'</span>,</span><br><span class="line">        <span class="string">'x-requested-with'</span>: <span class="string">'fetch'</span>,</span><br><span class="line">    &#125;</span><br><span class="line">res = requests.get(url,headers=headers,verify=False).json()</span><br><span class="line">print(res[<span class="string">'content'</span>])</span><br><span class="line">content = pq(res['content'])  # content 内容为 xml 格式的网页，用pyquery解析</span><br><span class="line">imgs_url = []</span><br><span class="line">imgs = content(<span class="string">'figure noscript img'</span>).items()</span><br><span class="line">i = <span class="number">0</span></span><br><span class="line"><span class="keyword">for</span> img_url <span class="keyword">in</span> imgs:</span><br><span class="line">	i+=<span class="number">1</span></span><br><span class="line">	imgs_url.append(img_url.attr(<span class="string">'src'</span>))</span><br><span class="line">	tmp = requests.get(img_url.attr(<span class="string">'src'</span>),headers=headers,verify=False)</span><br><span class="line">	<span class="keyword">with</span> open(<span class="string">'pics/'</span>+str(i)+<span class="string">'.jpg'</span>, <span class="string">'wb'</span>) <span class="keyword">as</span> f:</span><br><span class="line">		f.write(tmp.content)</span><br><span class="line">#pip install wget</span><br><span class="line">#filename = wget.download(url)</span><br><span class="line">print(<span class="string">'图片总数:'</span>+str(len(imgs_url)))</span><br></pre></td></tr></table></figure></p>
<p>执行脚本 Python   zhihu.py  ,很快就下载完了。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-2cc687edf9c5a1ec.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果想下载所有回答的图片可以使用接口<br> <a href="https://www.zhihu.com/api/v4/questions/310335618/answers?include=data%5B%2A%5D.is_normal%2Cadmin_closed_comment%2Creward_info%2Cis_collapsed%2Cannotation_action%2Cannotation_detail%2Ccollapse_reason%2Cis_sticky%2Ccollapsed_by%2Csuggest_edit%2Ccomment_count%2Ccan_comment%2Ccontent%2Ceditable_content%2Cvoteup_count%2Creshipment_settings%2Ccomment_permission%2Ccreated_time%2Cupdated_time%2Creview_info%2Crelevant_info%2Cquestion%2Cexcerpt%2Crelationship.is_authorized%2Cis_author%2Cvoting%2Cis_thanked%2Cis_nothelp%2Cis_labeled%2Cis_recognized%2Cpaid_info%3Bdata%5B%2A%5D.mark_infos%5B%2A%5D.url%3Bdata%5B%2A%5D.author.follower_count%2Cbadge%5B%2A%5D.topics&amp;limit=5&amp;offset=0&amp;platform=desktop&amp;sort_by=default" target="_blank" rel="noopener">https://www.zhihu.com/api/v4/questions/310335618/answers?include=data%5B%2A%5D.is_normal%2Cadmin_closed_comment%2Creward_info%2Cis_collapsed%2Cannotation_action%2Cannotation_detail%2Ccollapse_reason%2Cis_sticky%2Ccollapsed_by%2Csuggest_edit%2Ccomment_count%2Ccan_comment%2Ccontent%2Ceditable_content%2Cvoteup_count%2Creshipment_settings%2Ccomment_permission%2Ccreated_time%2Cupdated_time%2Creview_info%2Crelevant_info%2Cquestion%2Cexcerpt%2Crelationship.is_authorized%2Cis_author%2Cvoting%2Cis_thanked%2Cis_nothelp%2Cis_labeled%2Cis_recognized%2Cpaid_info%3Bdata%5B%2A%5D.mark_infos%5B%2A%5D.url%3Bdata%5B%2A%5D.author.follower_count%2Cbadge%5B%2A%5D.topics&amp;limit=5&amp;offset=0&amp;platform=desktop&amp;sort_by=default</a></p>
<p>最后说几个知乎的使用技巧。</p>
<p>知乎复制的时候总会增加版权信息，比如 ：</p>
<p>作者：xxx<br>链接：<a href="https://www.zhihu.com/question/310335618/answer/602970433" target="_blank" rel="noopener">https://www.zhihu.com/question/310335618/answer/602970433</a><br>来源：知乎<br>著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。</p>
<p>如果想去掉，打开控制台执行<code>__z_z__.vu = () =&gt; ({Id: ()=&gt;&#39;&#39;})</code> ，再次复制就没有了，当然这样有点麻烦，可以自己写个油猴脚本来自动执行，可以参考我之前写的 <a href="https://mp.weixin.qq.com/s/ksElusubk3s7dKtAqI4HKg" target="_blank" rel="noopener">如何更优雅地看电影/刷剧</a></p>
<p> 有些回答禁止了复制功能，会提示禁止转载，安装simple allow copy 这个扩展 <a href="https://chrome.google.com/webstore/detail/simple-allow-copy/aefehdhdciieocakfobpaaolhipkcpgc" target="_blank" rel="noopener">https://chrome.google.com/webstore/detail/simple-allow-copy/aefehdhdciieocakfobpaaolhipkcpgc</a>  一键搞定，之前文章也介绍过 <a href="https://mp.weixin.qq.com/s/miyrPlKG015GIWvkfpMSkA" target="_blank" rel="noopener">如何搞定某些网站不让复制文字</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-5cb00349db12aad1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>知乎小管家头像地址  <a href="https://pic4.zhimg.com/v2-85b5868ae1ee114c5818d29201aef708_xl.jpg" target="_blank" rel="noopener">https://pic4.zhimg.com/v2-85b5868ae1ee114c5818d29201aef708_xl.jpg</a><br>地址改为<a href="https://pic4.zhimg.com/v2-85b5868ae1ee114c5818d29201aef708_l.jpg" target="_blank" rel="noopener">https://pic4.zhimg.com/v2-85b5868ae1ee114c5818d29201aef708_l.jpg</a> 就是一张100*100的缩略图。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-4d46cae7b45d3ec0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>改为 <a href="https://pic4.zhimg.com/v2-85b5868ae1ee114c5818d29201aef708_r.jpg" target="_blank" rel="noopener">https://pic4.zhimg.com/v2-85b5868ae1ee114c5818d29201aef708_r.jpg</a>  就是原始大图，这个跟微博有点类似，之前也介绍过 <a href="https://mp.weixin.qq.com/s/ql_e44vZFyZ86296O1-mKA" target="_blank" rel="noopener">如何更优雅地使用微博</a><br> <img src="https://upload-images.jianshu.io/upload_images/23152173-0d33e252bec1bfaf.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>更多知乎技巧见之前文章 <a href="https://mp.weixin.qq.com/s/sqRgMh4rxFBt5YxNtaa6dw" target="_blank" rel="noopener">那些你可能不知道的知乎奇技淫巧</a></p>
<blockquote>
<p>大家的点赞和在看转发对我非常重要，如果文章对你有帮助还请支持下， 感谢各位！</p>
</blockquote>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/18/神器！人工智能分离歌曲中的人声和背景音乐/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/18/神器！人工智能分离歌曲中的人声和背景音乐/" itemprop="url">神器！人工智能分离歌曲中的人声和背景音乐</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-18T18:50:41+08:00">
                2020-09-18
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  3 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第171 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>之前分享过将视频转GIF<a href="https://mp.weixin.qq.com/s/bGcMIz0dOoDe3quo5G0-Ug" target="_blank" rel="noopener">如何将视频轻松转换为 GIF</a> 和文字转语音 <a href="https://mp.weixin.qq.com/s/klBMLhsQXOEzsWA5a_rpIQ" target="_blank" rel="noopener">如何轻松的将文字转语音</a> ，今天分享几个神器，可以分离音频中的人声和背景音乐。</p>
<p>先准备一首周杰伦的音频《晴天》。</p>
<h3 id="ezstems"><a href="#ezstems" class="headerlink" title="ezstems"></a>ezstems</h3><p><a href="https://ezstems.com/" target="_blank" rel="noopener">https://ezstems.com/</a> 这个网站支持上传YouTube链接或者自己上传文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-a24a0d158989734b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>不过免费用户文件限制10MB大小，否则提示不可用。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">Sorry, file size must be less than <span class="number">10</span>mb. You can increase the upload limit by logging into your dashboard and upgrading your membership.</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-82809797b68a6948.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>上传音频文件《晴天》后等待一会。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-1c50e317b42930a0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>一会就处理完了，直接下载到本地。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-66f4dde65eabee1a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>下载有2个文件：人声 <code>accompaniment.mp3</code> 和背景音乐 <code>vocals.mp3</code> ，可以在微信点击听下效果，还是不错的。</p>
<p><a href="https://mp.weixin.qq.com/s/s1HoJ2mdRi62Z3AW1Hs_Bw" target="_blank" rel="noopener">神器！人工智能分离歌曲中的人声和背景音乐</a></p>
<h3 id="lalal"><a href="#lalal" class="headerlink" title="lalal"></a>lalal</h3><p><a href="https://www.lalal.ai/" target="_blank" rel="noopener">https://www.lalal.ai/</a> 在线上传歌曲就可以免费将语音和背景音乐分离。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-4943d5e2a3dacc32.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br> 分离后直接下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-29917d232df8b7e3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="moises"><a href="#moises" class="headerlink" title="moises"></a>moises</h3><p><a href="https://moises.ai/" target="_blank" rel="noopener">https://moises.ai/</a> 使用人工智能分离音乐音轨，上传歌曲，然后提取出伴奏音轨和人声音轨<br><img src="https://upload-images.jianshu.io/upload_images/23152173-74c55f9f1fe2fe60.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>用谷歌账号登录后上传音频文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b3ad4fad43d34ef6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>完成后下载人声和伴奏音频文件。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-30fe80a1bcdc0072.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<h3 id="vocalremover"><a href="#vocalremover" class="headerlink" title="vocalremover"></a>vocalremover</h3><p><a href="https://vocalremover.org/ch/" target="_blank" rel="noopener">https://vocalremover.org/ch/</a> 借助强大的AI算法将歌曲中的声音与音乐分离开来 。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-da69a1722223dad8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br> 上传音频文件，这个不限制10MB 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e4cfd8c4d8d0f3a8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>处理时间大概20秒左右。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-035e7b8834c77afc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>直接下载到本地，效果也不错。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-9692e2e1172cee5f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>如果卡住了没出现下载界面，直接用idm下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-e2fc6e748d56c903.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>这个网站还可以在线修剪歌曲或删除其中的片段。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-8f426bf08c060edd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>之前也分享过类似的 <a href="https://mp.weixin.qq.com/s/713nZZ0qjn4GYZKXKZHlxA" target="_blank" rel="noopener">那些你可能用得上的在线办公神器系列（三）</a>   <a href="https://mp3cut.net/cn/" target="_blank" rel="noopener">https://mp3cut.net/cn/</a> ，  <a href="https://online-audio-converter.com/" target="_blank" rel="noopener">https://online-audio-converter.com/</a>  ，<a href="https://ezgif.com/cut-video，https://ringer.org/zh/" target="_blank" rel="noopener">https://ezgif.com/cut-video，https://ringer.org/zh/</a> ，<a href="https://clideo.com/editor/cut-audio" target="_blank" rel="noopener">https://clideo.com/editor/cut-audio</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-0f98ff689e5a91cd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>上面几个都是国外的网站，下面分享个国内的 团子。</p>
<h3 id="团子"><a href="#团子" class="headerlink" title="团子"></a>团子</h3><p>团子是基于 Python 开源项目 Spleeter <a href="https://github.com/deezer/spleeter" target="_blank" rel="noopener">https://github.com/deezer/spleeter</a>  做的，利用 ai技术从任何音频中分离出伴奏，人声，鼓点，贝斯以及其他乐器<a href="https://dango.ai/" target="_blank" rel="noopener">https://dango.ai/</a> </p>
<p>上传音频等待一会。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-5d4ba58c73467832.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br><img src="https://upload-images.jianshu.io/upload_images/23152173-cfb289e7a30730ff.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>可以试听30秒。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-13abb5c09b6e74c8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>下载也只能下30秒。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-27e02b86e8ef8c28.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>虽然效果不错，不过下载全部音频得花钱（一首6块钱），还不如使用国内另外一个产品分轨<a href="https://ifengui.com/" target="_blank" rel="noopener">https://ifengui.com/</a> ，它每个月有10分钟免费额度。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-f7da70c587dfef74.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="30.png"></p>
<p>测试下来推荐使用 vocalremover，不过国外网站会比较慢，如果你不介意付费可以使用团子，分轨。</p>
<p>最后分享个音效配乐素材网站 <a href="http://www.aigei.com/" target="_blank" rel="noopener">http://www.aigei.com/</a> ，做视频可能用得上。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-2898ac6a39658c87.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>还有命令行神器 ffmpeg ，比如 提取视频中的音频<br><code>ffmpeg -y -i input.mp4 -vn -codec copy out.m4a</code> ，批量提取<code>for %i in (*.mp4) do ffmpeg -i %i -vn -codec copy %i-out.m4a</code></p>
<p>还有对应的moviepy 库   <code>pip install moviepy</code><br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> moviepy.editor <span class="keyword">as</span> mp</span><br><span class="line">clip = mp.AudioFileClip(<span class="string">'lzq.mp4'</span>)</span><br><span class="line">clip.write_audiofile(<span class="string">'lzq2.mp3'</span>)</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-266394bcef558991.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<blockquote>
<p>大家的点赞和在看转发对我非常重要，如果文章对你有帮助还请支持下， 感谢各位！</p>
</blockquote>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/18/如何发一条九宫格图片的朋友圈/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/18/如何发一条九宫格图片的朋友圈/" itemprop="url">如何发一条九宫格图片的朋友圈</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-18T18:48:23+08:00">
                2020-09-18
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.2k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  5 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第170 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>关于微信之前写过以下文章，有兴趣可以点击查看：</p>
<p><a href="https://mp.weixin.qq.com/s/Nu8x-dA2IRXtOcjVJuenKA" target="_blank" rel="noopener">如何导出你的微信语音</a></p>
<p><a href="https://mp.weixin.qq.com/s/mMrtMRQm2dMWHyv1c_23Dw" target="_blank" rel="noopener">c 盘空间又满了？微信清理神器帮你释放空间</a></p>
<p><a href="https://mp.weixin.qq.com/s/PTRAREoFRfOJqOUlMCWhbQ" target="_blank" rel="noopener">微信撤回的消息也能看到！</a></p>
<p><a href="https://mp.weixin.qq.com/s/bIE23HBq_sqvLkV18_BlbQ" target="_blank" rel="noopener">如何备份可能被删的公众号文章和网页</a></p>
<p><a href="https://mp.weixin.qq.com/s/_3AeNahwbs8c3UJ0is1t4A" target="_blank" rel="noopener">如何在电脑上登陆多个微信</a></p>
<p><a href="https://mp.weixin.qq.com/s/Xz1m-mqtCcBF_4hmGCpkUQ" target="_blank" rel="noopener">如何发一条空白的朋友圈</a></p>
<p><a href="https://mp.weixin.qq.com/s/eGDO0Y8el_dsEyriCoAgog" target="_blank" rel="noopener">那些你可能不知道的微信奇技淫巧</a></p>
<p><a href="https://mp.weixin.qq.com/s/V8Aj7ekW3xYaBHj7vQW-rw" target="_blank" rel="noopener">一键生成你的微信社交数据报告</a> </p>
<p>你可能在朋友圈看过九宫格图片（把一张图片按照比例分成九份），就像这样的：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-c9d5103a5c7a904f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>还有微博九宫格图 <a href="https://weibo.com/2717930601/JjpKtlUZ9" target="_blank" rel="noopener">https://weibo.com/2717930601/JjpKtlUZ9</a> ：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-47ac8e18d0cf5ed3.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>这种九宫格图片怎么发的呢？下面用Python搞定它，Python是门很简单实用的语言，即使不做开发工作也可以学习下，比如之前的下载抖音 <a href="https://mp.weixin.qq.com/s/UhLx4cjkfNVsdUyod7te0g" target="_blank" rel="noopener">一键批量下载抖音无水印视频</a>  ，下载公众号文章<a href="https://mp.weixin.qq.com/s/sBK_NkSnS3qTOnajl6Y94Q" target="_blank" rel="noopener">一键下载公众号所有文章，导出文件支持PDF，HTML，Markdown，Excel，chm等格式</a> 都是用的Python，之后我会写一篇如何使用Python来抓取数据，代码非常简单，只要你认识英文字母就会用。</p>
<h3 id="PIL处理图片"><a href="#PIL处理图片" class="headerlink" title="PIL处理图片"></a>PIL处理图片</h3><p>先用pip安装切割图片的库 PIL <code>pip install Pillow</code> ， 然后编辑代码：</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">from</span> PIL <span class="keyword">import</span> Image,ImageSequence,ImageFilter</span><br><span class="line">pic = input(<span class="string">"请输入图片文件名："</span>)</span><br><span class="line">im = Image.open(pic)</span><br><span class="line">width = im.size[<span class="number">0</span>]<span class="comment">//3</span></span><br><span class="line">height = im.size[<span class="number">1</span>]<span class="comment">//3</span></span><br><span class="line">x = <span class="number">0</span></span><br><span class="line">y = <span class="number">0</span></span><br><span class="line">filename = 1#保存的文件名</span><br><span class="line"><span class="keyword">for</span> i <span class="keyword">in</span> range(<span class="number">3</span>):</span><br><span class="line">    <span class="keyword">for</span> j <span class="keyword">in</span> range(<span class="number">3</span>):</span><br><span class="line">        crop = im.crop((x, y, x+width, y+height))</span><br><span class="line">        crop.save(str(filename) + <span class="string">'.jpg'</span>)</span><br><span class="line">        x += width</span><br><span class="line">        filename += <span class="number">1</span></span><br><span class="line">    x = <span class="number">0</span></span><br><span class="line">    y += height</span><br></pre></td></tr></table></figure>
<p>直接命令行执行 python pic.py ，输入图片文件名即可在本地生成9张小图。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-de866ddb51669648.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>还可以将代码打包为exe可执行文件，这样不用安装Python就可以运行了。</p>
<h3 id="pyinstaller-打包exe"><a href="#pyinstaller-打包exe" class="headerlink" title="pyinstaller 打包exe"></a>pyinstaller 打包exe</h3><p>打包用的工具是pyinstaller，先<code>pip install pyinstaller</code>安装它，然后<code>pyinstaller -F pic.py</code>，不过我运行的时候出错了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bef623d8df9d23c0.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"></span><br><span class="line">    <span class="keyword">for</span> real_module_name, six_module_name <span class="keyword">in</span> real_to_six_module_name.items():</span><br><span class="line">AttributeError: <span class="string">'str'</span> object has no attribute <span class="string">'items'</span></span><br></pre></td></tr></table></figure>
<p>谷歌了下需要升级库。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br></pre></td><td class="code"><pre><span class="line">λ pip install -U setuptools</span><br><span class="line">Collecting setuptools</span><br><span class="line">  Downloading https:<span class="comment">//files.pythonhosted.org/packages/6d/ed/52e05469314a266f68d9f251a8c1ab7a21a03327b1724056e3eea654bfd1/setuptools-50.0.3-py3-none-any.whl (784kB)</span></span><br><span class="line">Installing collected packages: setuptools</span><br><span class="line">  Found existing installation: setuptools <span class="number">41.2</span><span class="number">.0</span></span><br><span class="line">    Uninstalling setuptools<span class="number">-41.2</span><span class="number">.0</span>:</span><br><span class="line">      Successfully uninstalled setuptools<span class="number">-41.2</span><span class="number">.0</span></span><br><span class="line">Successfully installed setuptools<span class="number">-50.0</span><span class="number">.3</span></span><br><span class="line"></span><br><span class="line">pip config set global.index-url https:<span class="comment">//pypi.tuna.tsinghua.edu.cn/simple</span></span><br><span class="line"># 更新pip版本</span><br><span class="line">python -m pip install -U pip</span><br><span class="line">λ pip uninstall enum34</span><br><span class="line">Uninstalling enum34<span class="number">-1.1</span><span class="number">.6</span>:</span><br><span class="line">  Would remove:</span><br><span class="line">    d:\python\lib\site-packages\enum34<span class="number">-1.1</span><span class="number">.6</span>.dist-info\*</span><br><span class="line">    d:\python\lib\site-packages\enum\*</span><br><span class="line">Proceed (y/n)? y</span><br><span class="line">  Successfully uninstalled enum34<span class="number">-1.1</span><span class="number">.6</span></span><br><span class="line"><span class="string">""</span><span class="string">"</span></span><br></pre></td></tr></table></figure></p>
<p>再次执行<code>pyinstaller -F pic.py</code> 终于成功了，不过生成的exe文件有点大（20多MB，公众号后台回复 <code>朋友圈</code> 获取exe文件），双击exe文件输入文件名就可以运行了。 <a href="https://www.lanzoux.com/iWtJNgcrmxa" target="_blank" rel="noopener">https://www.lanzoux.com/iWtJNgcrmxa</a></p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line"><span class="number">60106</span> INFO: Building PKG (CArchive) PKG<span class="number">-00.</span>pkg completed successfully.</span><br><span class="line"><span class="number">60112</span> INFO: Bootloader d:\python\lib\site-packages\PyInstaller\bootloader\Windows<span class="number">-32</span>bit\run.exe</span><br><span class="line"><span class="number">60114</span> INFO: checking EXE</span><br><span class="line"><span class="number">60115</span> INFO: Building EXE because EXE<span class="number">-00.</span>toc is non existent</span><br><span class="line"><span class="number">60115</span> INFO: Building EXE <span class="keyword">from</span> EXE<span class="number">-00.</span>toc</span><br><span class="line"><span class="number">60115</span> INFO: Appending archive to EXE d:\download\dist\pic.exe</span><br><span class="line"><span class="number">60279</span> INFO: Building EXE <span class="keyword">from</span> EXE<span class="number">-00.</span>toc completed successfully.</span><br></pre></td></tr></table></figure>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-2c8a9177d4287eb4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p> PIL除了切割图片还可以对照片去色。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">img = Image.open(<span class="string">"jay.jpg"</span>)</span><br><span class="line">img2 = img.convert(<span class="string">"L"</span>)</span><br><span class="line">img2.save(<span class="string">"jay2.jpg"</span>)</span><br></pre></td></tr></table></figure></p>
<p>去色效果图：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-6fa2d651e6347944.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="mm2.jpg"><br>对照片模糊处理。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">img2 = img.filter(ImageFilter.GaussianBlur(radius=<span class="number">10</span>)) </span><br><span class="line">img2.save(<span class="string">"jay_blur.jpg"</span>)</span><br></pre></td></tr></table></figure></p>
<p>模糊效果图：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-971c456140697933.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="img_blur.jpg"></p>
<p>对照片旋转90度。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">img3 = img.rotate(<span class="number">90</span>)</span><br><span class="line">img3.save(<span class="string">"jay_rotate.jpg"</span>)</span><br></pre></td></tr></table></figure></p>
<p>旋转效果图：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-72f02c97b33d2325.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="img_rotate.jpg"></p>
<p>对照片翻转。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">img4 = img.transpose(Image.FLIP_LEFT_RIGHT)</span><br><span class="line">img4.save(<span class="string">"jay_transpose.jpg"</span>)</span><br></pre></td></tr></table></figure></p>
<p>翻转效果图，周杰伦七里香几个字翻过来了：<br><img src="https://upload-images.jianshu.io/upload_images/23152173-352e28a74c22e634.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="img_transpose.jpg"></p>
<p>照片缩略图。<br><figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">size = (<span class="number">120</span>, <span class="number">120</span>)</span><br><span class="line">img5 = img.copy()</span><br><span class="line">img5.thumbnail(size)</span><br><span class="line">img5.save(<span class="string">"jay_thumbnail.jpg"</span>)</span><br></pre></td></tr></table></figure></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-832e7923d326c694.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="img_thumbnail.jpg"></p>
<p>除了使用Python 也有在线工具和微信小程序可以生成九宫格图片 <a href="https://www.dute.org/image-clip" target="_blank" rel="noopener">https://www.dute.org/image-clip</a> ，上传图片下载即可。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ef32661310c20906.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<blockquote>
<p>大家的点赞和在看转发对我非常重要，如果文章对你有帮助还请支持下， 感谢各位！</p>
</blockquote>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法和九宫格图片</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
      

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://yoursite.com/2020/09/04/Python一键批量下载抖音无水印视频/">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="苏生不惑">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="苏生不惑的博客">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
                
                <a class="post-title-link" href="/2020/09/04/Python一键批量下载抖音无水印视频/" itemprop="url">Python一键批量下载抖音无水印视频</a></h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2020-09-04T19:54:51+08:00">
                2020-09-04
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          
            <div class="post-wordcount">
              
                
                  <span class="post-meta-divider">|</span>
                
                <span class="post-meta-item-icon">
                  <i class="fa fa-file-word-o"></i>
                </span>
                
                  <span class="post-meta-item-text">字数统计&#58;</span>
                
                <span title="字数统计">
                  1.3k 字
                </span>
              

              
                <span class="post-meta-divider">|</span>
              

              
                <span class="post-meta-item-icon">
                  <i class="fa fa-clock-o"></i>
                </span>
                
                  <span class="post-meta-item-text">阅读时长 &asymp;</span>
                
                <span title="阅读时长">
                  5 分钟
                </span>
              
            </div>
          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        
          
            <blockquote>
<p>苏生不惑第169 篇原创文章，将本公众号设为<code>星标</code>，第一时间看最新文章。</p>
</blockquote>
<p>关于下载视频之前写过 <a href="https://mp.weixin.qq.com/s/3rB23e9L55hDBaPLDu6WMg" target="_blank" rel="noopener">如何轻松下载腾讯/微博/优酷/爱奇艺/b站等全网视频？ </a> ， <a href="https://mp.weixin.qq.com/s/5InOxKmi9eXk33G_8N3byQ" target="_blank" rel="noopener">那些你可能不知道的视频下载奇技淫巧</a></p>
<p>抖音视频也可以直接通过idm来下载，先在抖音复制视频链接。</p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-b81433ac93df58fd.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>用谷歌浏览器打开视频链接后点击视频右上角的idm（公众号后台回复 <code>idm</code>获取软件 ）就能下载了 。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-df88680cfaa29bbb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>不过这样下载的视频带有抖音的标志，如果想去除这个水印，下面分享个简单的方法。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-08eacd2883d03b2b.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>打开浏览器控制台使用手机模式访问会跳转到   <a href="https://www.iesdouyin.com/share/video/6867075534275366148/" target="_blank" rel="noopener">https://www.iesdouyin.com/share/video/6867075534275366148/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-077ae515ffcb6f96.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>可以看到请求接口 <a href="https://www.iesdouyin.com/web/api/v2/aweme/iteminfo/?item_ids=6867075534275366148" target="_blank" rel="noopener">https://www.iesdouyin.com/web/api/v2/aweme/iteminfo/?item_ids=6867075534275366148</a> ，返回值play_addr里就有播放地址url_list  <a href="https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0300fff0000bt6c070r0ed42bvp5uo0&amp;ratio=720p&amp;line=0" target="_blank" rel="noopener">https://aweme.snssdk.com/aweme/v1/playwm/?video_id=v0300fff0000bt6c070r0ed42bvp5uo0&amp;ratio=720p&amp;line=0</a><br>这个地址是有水印的，将地址里的playwm改为play就是无水印播放地址了。</p>
<p>下载后播放对比下，左侧的抖音水印没了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-18d0e20e0d017604.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>无水印视频还少了3秒 ，因为视频结尾的一小段 <code>来抖音，发现更多创作者</code> 也没了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-7e3ed8f04e4716fa.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>当然这样下载无水印视频有点麻烦，一般小白还不会，Python 可以帮你一键下载。</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">import</span> re</span><br><span class="line"><span class="keyword">from</span> urllib.parse <span class="keyword">import</span> urlparse</span><br><span class="line"><span class="keyword">import</span> requests</span><br><span class="line"></span><br><span class="line">headers = &#123;</span><br><span class="line">            <span class="string">'accept'</span>: <span class="string">'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8'</span>,</span><br><span class="line">            <span class="string">'accept-encoding'</span>: <span class="string">'gzip, deflate, br'</span>,</span><br><span class="line">            <span class="string">'accept-language'</span>: <span class="string">'zh-CN,zh;q=0.9'</span>,</span><br><span class="line">            <span class="string">'cache-control'</span>: <span class="string">'max-age=0'</span>,</span><br><span class="line">            <span class="string">'upgrade-insecure-requests'</span>: <span class="string">'1'</span>,</span><br><span class="line">            <span class="string">'user-agent'</span>: <span class="string">'Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Mobile Safari/537.36'</span></span><br><span class="line">        &#125;</span><br><span class="line">domains = [<span class="string">'www.douyin.com'</span>,</span><br><span class="line">           <span class="string">'v.douyin.com'</span>,</span><br><span class="line">           <span class="string">'www.snssdk.com'</span>,</span><br><span class="line">           <span class="string">'www.amemv.com'</span>,</span><br><span class="line">           <span class="string">'www.iesdouyin.com'</span>,</span><br><span class="line">           <span class="string">'aweme.snssdk.com'</span>]</span><br><span class="line"></span><br><span class="line">url = input(<span class="string">"请输入你要去水印的抖音短视频链接："</span>)</span><br><span class="line">#url =' https://v.douyin.com/oXbjfe/'</span><br><span class="line">response = requests.get(url,headers=headers,allow_redirects=False)</span><br><span class="line">true_url =response.headers[<span class="string">'location'</span>]</span><br><span class="line">#print(true_url)</span><br><span class="line">parse_url = urlparse(true_url)</span><br><span class="line"><span class="keyword">if</span> parse_url.netloc not <span class="keyword">in</span> domains:</span><br><span class="line">    raise Exception(<span class="string">"无效的链接"</span>)</span><br><span class="line"></span><br><span class="line">vid = re.findall(r<span class="string">'\/share\/video\/(\d*)'</span>, parse_url.path)[<span class="number">0</span>]</span><br><span class="line">#print(vid)</span><br><span class="line">response = requests.get(<span class="string">'https://www.iesdouyin.com/web/api/v2/aweme/iteminfo/?item_ids='</span>+str(vid))</span><br><span class="line">result = response.json()</span><br><span class="line">#print(result)</span><br><span class="line">item = result.get(<span class="string">"item_list"</span>)[<span class="number">0</span>]</span><br><span class="line">author = item.get(<span class="string">"author"</span>).get(<span class="string">"nickname"</span>)</span><br><span class="line">mp4 = item.get(<span class="string">"video"</span>).get(<span class="string">"play_addr"</span>).get(<span class="string">"url_list"</span>)[<span class="number">0</span>]</span><br><span class="line">cover = item.get(<span class="string">"video"</span>).get(<span class="string">"cover"</span>).get(<span class="string">"url_list"</span>)[<span class="number">0</span>]</span><br><span class="line">mp4 = mp4.replace(<span class="string">"playwm"</span>, <span class="string">"play"</span>)</span><br><span class="line">res = requests.get(mp4, headers=headers, allow_redirects=True)</span><br><span class="line">mp4url = res.url#http://v5-dy-d.ixigua.com/aa21024d9f51deaa2e8ce9ba4f6447f5/5f4cb46c/video/n/tosedge-tos-agsy-ve-0015/ed75a5dbbddf483a8c1382162d31d52f/?a=1128&amp;br=2016&amp;bt=672&amp;cr=0&amp;cs=0&amp;cv=1&amp;dr=0&amp;ds=3&amp;er=&amp;l=202008311526410101980621631104B96C&amp;lr=&amp;mime_type=video_mp4&amp;qs=0&amp;rc=ajM7azNqOXk4dTMzOmkzM0ApOzY6NjZoZWQ6N2UzNjlmNmdpYi0zbnEvMi5fLS1iLS9zczUzLi40NmBhXjEyLzAzYWA6Yw%3D%3D&amp;vl=&amp;vr=</span><br><span class="line">#print(mp4url)</span><br><span class="line">desc = item.get(<span class="string">"desc"</span>)</span><br><span class="line">mp3 = item.get(<span class="string">"music"</span>).get(<span class="string">"play_url"</span>).get(<span class="string">"url_list"</span>)[<span class="number">0</span>]</span><br><span class="line">#name = input("===&gt;正在下载保存视频,请输入视频名称：")</span><br><span class="line">video = requests.get(url=mp4url, headers=headers)</span><br><span class="line">audio = requests.get(url=mp3, headers=headers)</span><br><span class="line">data = dict()</span><br><span class="line">data[<span class="string">'mp3'</span>] = mp3</span><br><span class="line">data[<span class="string">'mp4'</span>] = mp4url</span><br><span class="line">data[<span class="string">'cover'</span>] = cover</span><br><span class="line">data[<span class="string">'nickname'</span>] = author</span><br><span class="line">data[<span class="string">'desc'</span>] = desc</span><br><span class="line">data[<span class="string">'duration'</span>] = item.get(<span class="string">"duration"</span>)</span><br><span class="line">#print(data)</span><br><span class="line"><span class="keyword">with</span> open(desc+<span class="string">".mp4"</span>, <span class="string">'wb'</span>) <span class="keyword">as</span> f, open(desc+<span class="string">".mp3"</span>, <span class="string">'wb'</span>) <span class="keyword">as</span> f2:</span><br><span class="line">    f.write(video.content)</span><br><span class="line">    f.close()</span><br><span class="line">    f2.write(audio.content)</span><br><span class="line">    f2.close()</span><br><span class="line">    print(<span class="string">"===&gt;音频和视频下载完成"</span>)</span><br></pre></td></tr></table></figure>
<p>直接执行脚本 python douyin.py ，很快下载好了。<br> <img src="https://upload-images.jianshu.io/upload_images/23152173-f40f568d1c0e188f.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>视频对应的mp3音频<a href="http://p9-dy.byteimg.com/obj/ies-music/6867075567041121031.mp3也下载了。" target="_blank" rel="noopener">http://p9-dy.byteimg.com/obj/ies-music/6867075567041121031.mp3也下载了。</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-033a691927734b6a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>除了Python已经有很多不错的软件可以很方便的下载无水印抖音视频了，下面分享几个好用的。</p>
<p>这个软件（公众号后台回复 <code>抖音</code>获取软件）<a href="https://www.lanzoux.com/iTKnwgbujgh支持抖音，皮皮虾，快手，火山，微视等平台视频的批量下载，还支持采集视频。" target="_blank" rel="noopener">https://www.lanzoux.com/iTKnwgbujgh支持抖音，皮皮虾，快手，火山，微视等平台视频的批量下载，还支持采集视频。</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-5510ac0165616198.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p><img src="https://upload-images.jianshu.io/upload_images/23152173-afe2d7d80a25e9d1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>输入抖音视频链接地址 <a href="https://v.douyin.com/JkaChFt/" target="_blank" rel="noopener">https://v.douyin.com/JkaChFt/</a>  ，点击解析可以看到视频标题和下载链接。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-bf0a68e2df8b6cf1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>还可以输入抖音作者主页地址 <a href="https://v.douyin.com/JkaaoTH/" target="_blank" rel="noopener">https://v.douyin.com/JkaaoTH/</a> ，解析可以获取作者视频列表。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-b98bcfb40e27c605.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>然后右键下载，很快下载完了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-704bc4003a28828e.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"><br>播放看看，左上方的抖音水印没了。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-ceea74f9427544cc.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>另外一个软件 抖音信息解读  <a href="https://www.lanzoux.com/iUj4ng8st0b" target="_blank" rel="noopener">https://www.lanzoux.com/iUj4ng8st0b</a> ，可以搜索列出作者600多个视频（包含作者头像，视频标题，视频地址，点赞数，评论数，分享数，音乐地址，无水印链接等），在右侧可以选择视频下载。<br><img src="https://upload-images.jianshu.io/upload_images/23152173-26c284e678b4afe6.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<p>分享个网站 抖音排行榜 <a href="https://www.jxpie.com/#" target="_blank" rel="noopener">https://www.jxpie.com/#</a>  <a href="https://kolranking.com/" target="_blank" rel="noopener">https://kolranking.com/</a><br><img src="https://upload-images.jianshu.io/upload_images/23152173-d055b1c3cbd2fa44.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="image.png"></p>
<blockquote>
<p>大家的点赞和在看转发对我非常重要，如果文章对你有帮助还请支持下， 感谢各位！</p>
</blockquote>
<table>
<thead>
<tr>
<th>公众号后台回复关键词</th>
<th>用途</th>
</tr>
</thead>
<tbody>
<tr>
<td>微信</td>
<td>获取你的微信好友头像拼图及查看微信撤回消息</td>
</tr>
<tr>
<td>b站</td>
<td>获取下载b站视频工具及找回被删b站视频方法</td>
</tr>
<tr>
<td>视频</td>
<td>获取下载腾讯，优酷，爱奇艺，微博视频工具及去除logo脚本</td>
</tr>
<tr>
<td>百度网盘</td>
<td>获取加速下载网盘文件方法及查找电影电视剧网站</td>
</tr>
<tr>
<td>朋友圈</td>
<td>获取发空白朋友圈方法</td>
</tr>
<tr>
<td>微博</td>
<td>获取备份微博工具及分析微博账号数据</td>
</tr>
<tr>
<td>音乐</td>
<td>获取下载音乐工具及在线听歌网站</td>
</tr>
<tr>
<td>油猴</td>
<td>获取油猴脚本</td>
</tr>
<tr>
<td>谷歌</td>
<td>获取安装Chrome扩展方法</td>
</tr>
<tr>
<td>公众号</td>
<td>一键下载公众号所有文章</td>
</tr>
<tr>
<td>抖音</td>
<td>一键下载无水印抖音视频</td>
</tr>
</tbody>
</table>
<p><img src="https://upload-images.jianshu.io/upload_images/17817191-9d41aa25edcd25c4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="免费知识星球，每天更新"></p>
<h3 id="公众号-苏生不惑"><a href="#公众号-苏生不惑" class="headerlink" title="公众号 苏生不惑"></a>公众号 苏生不惑</h3><p> <img src="https://upload-images.jianshu.io/upload_images/17817191-6e0079f95d4c0338.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240" alt="扫描二维码关注或搜索微信susheng_buhuo"></p>

          
        
      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      

      

      

      
      
        <div class="post-eof"></div>
      
    </footer>
  </div>
  
  
  
  </article>


    
  </section>

  
  <nav class="pagination">
    <a class="extend prev" rel="prev" href="/page/12/"><i class="fa fa-angle-left"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/12/">12</a><span class="page-number current">13</span><a class="page-number" href="/page/14/">14</a><span class="space">&hellip;</span><a class="page-number" href="/page/39/">39</a><a class="extend next" rel="next" href="/page/14/"><i class="fa fa-angle-right"></i></a>
  </nav>



          </div>
          


          

        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      

      <section class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">苏生不惑</p>
              <p class="site-description motion-element" itemprop="description"></p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/archives/">
              
                  <span class="site-state-item-count">382</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/tags/index.html">
                  <span class="site-state-item-count">37</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/sushengbuhuo" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i>GitHub</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="mysusheng@gmail.com" target="_blank" title="E-Mail">
                      
                        <i class="fa fa-fw fa-envelope"></i>E-Mail</a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="https://plus.google.com/mysusheng" target="_blank" title="Google">
                      
                        <i class="fa fa-fw fa-google"></i>Google</a>
                  </span>
                
            </div>
          

          
          

          
          
            <div class="links-of-blogroll motion-element links-of-blogroll-block">
              <div class="links-of-blogroll-title">
                <i class="fa  fa-fw fa-link"></i>
                Links
              </div>
              <ul class="links-of-blogroll-list">
                
                  <li class="links-of-blogroll-item">
                    <a href="http://v2ex.com/" title="v2ex" target="_blank">v2ex</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.fanhaobai.com/" title="fanhaobai" target="_blank">fanhaobai</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://yuanxuxu.com/archives/" title="yuanxuxu" target="_blank">yuanxuxu</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.snail-c.cn/article" title="snail-c" target="_blank">snail-c</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://showcj.com/archives" title="showcj" target="_blank">showcj</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://vultr.aicnm.com/%E6%9C%80%E6%96%B0Vultr%E6%B3%A8%E5%86%8C%E5%8F%8AVPS%E8%B4%AD%E4%B9%B0%E5%9B%BE%E6%96%87%E6%95%99%E7%A8%8B/" title="vultr" target="_blank">vultr</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.lucissfer.com/" title="lucissfer" target="_blank">lucissfer</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://blog.csdn.net/fdipzone/article/details/79352685" title="傲雪星枫" target="_blank">傲雪星枫</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.yoby123.cn/index.php/category/default/" title="小白的分享" target="_blank">小白的分享</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.cnblogs.com/52fhy/p/5819995.html" title="PHP攻城狮" target="_blank">PHP攻城狮</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://blog.jiaojie.site/" title="php" target="_blank">php</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://sphard.com/archives/" title="sphard" target="_blank">sphard</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://yuanxuxu.com/archives/" title="LNMP技术栈笔记" target="_blank">LNMP技术栈笔记</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.coding10.com/" title="学习 Laravel" target="_blank">学习 Laravel</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://shuwoom.com/?page_id=929" title="区块链学习指南" target="_blank">区块链学习指南</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://greenlightt.github.io/archives/" title="greenlightt" target="_blank">greenlightt</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.0php.net/archives/" title="0php" target="_blank">0php</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.fordba.com/category/mysql" title="mysql" target="_blank">mysql</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.itcodemonkey.com/" title="程序员" target="_blank">程序员</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.yanshuo.me/r/v2ex" title="言说" target="_blank">言说</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.timiguo.com/archive.html" title="提米果的博客" target="_blank">提米果的博客</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://phpartisan.cn/news/112.html" title="phpartisan" target="_blank">phpartisan</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.cnblogs.com/52fhy/" title="飞鸿影" target="_blank">飞鸿影</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="http://www.54php.cn/" title="54php" target="_blank">54php</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.lazyman.vip/" title="营销" target="_blank">营销</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.njphper.com/archives/" title="做人呢最重要的就是开心" target="_blank">做人呢最重要的就是开心</a>
                  </li>
                
                  <li class="links-of-blogroll-item">
                    <a href="https://www.h57.pw/" title="php 初心者" target="_blank">php 初心者</a>
                  </li>
                
              </ul>
            </div>
          

          

        </div>
      </section>

      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

<div class="copyright">&copy; <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">苏生不惑</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>



<div>
<span id="showDays"></span>

</div>

<span id="busuanzi_container_site_pv">
   总访问量:<span id="busuanzi_value_site_pv"></span>次
</span>



  <span class="post-meta-divider">|</span>



<div class="theme-info">
  <div class="powered-by"></div>
  <span class="post-count">博客全站共773.8k字</span>
</div>
<script>
var birthDay = new Date("11/20/2018");
var now = new Date();
var duration = now.getTime() - birthDay.getTime();
var total= Math.floor(duration / (1000 * 60 * 60 * 24));
document.getElementById("showDays").innerHTML = "本站已运行 "+total+" 天";
</script>

        
<div class="busuanzi-count">
  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv">
      <i class="fa fa-user"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_uv"></span>
      人次
    </span>
  

  
    <span class="site-pv">
      <i class="fa fa-eye"></i>
      <span class="busuanzi-value" id="busuanzi_value_site_pv"></span>
      次
    </span>
  
</div>








        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  











  
  
    <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="/lib/canvas-nest/canvas-nest.min.js"></script>
  


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="/js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="/js/src/schemes/pisces.js?v=5.1.4"></script>



  

  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  











<script type="text/javascript">
    (function() {
        // 匿名函数，防止污染全局变量
        var utterances = document.createElement('script');
        utterances.type = 'text/javascript';
        utterances.async = true;
        utterances.setAttribute('issue-term','0')
        utterances.setAttribute('theme','')
        utterances.setAttribute('repo','sushengbuhuo/laravel_ioc_demo')
        utterances.crossorigin = 'anonymous';
        utterances.src = 'https://utteranc.es/client.js';
        // content 是要插入评论的地方
        document.getElementById('gitment-container').appendChild(utterances);
    })();
</script>


  

  <script type="text/javascript">
    // Popup Window;
    var isfetched = false;
    var isXml = true;
    // Search DB path;
    var search_path = "search.xml";
    if (search_path.length === 0) {
      search_path = "search.xml";
    } else if (/json$/i.test(search_path)) {
      isXml = false;
    }
    var path = "/" + search_path;
    // monitor main search box;

    var onPopupClose = function (e) {
      $('.popup').hide();
      $('#local-search-input').val('');
      $('.search-result-list').remove();
      $('#no-result').remove();
      $(".local-search-pop-overlay").remove();
      $('body').css('overflow', '');
    }

    function proceedsearch() {
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay"></div>')
        .css('overflow', 'hidden');
      $('.search-popup-overlay').click(onPopupClose);
      $('.popup').toggle();
      var $localSearchInput = $('#local-search-input');
      $localSearchInput.attr("autocapitalize", "none");
      $localSearchInput.attr("autocorrect", "off");
      $localSearchInput.focus();
    }

    // search function;
    var searchFunc = function(path, search_id, content_id) {
      'use strict';

      // start loading animation
      $("body")
        .append('<div class="search-popup-overlay local-search-pop-overlay">' +
          '<div id="search-loading-icon">' +
          '<i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>' +
          '</div>' +
          '</div>')
        .css('overflow', 'hidden');
      $("#search-loading-icon").css('margin', '20% auto 0 auto').css('text-align', 'center');

      $.ajax({
        url: path,
        dataType: isXml ? "xml" : "json",
        async: true,
        success: function(res) {
          // get the contents from search data
          isfetched = true;
          $('.popup').detach().appendTo('.header-inner');
          var datas = isXml ? $("entry", res).map(function() {
            return {
              title: $("title", this).text(),
              content: $("content",this).text(),
              url: $("url" , this).text()
            };
          }).get() : res;
          var input = document.getElementById(search_id);
          var resultContent = document.getElementById(content_id);
          var inputEventFunction = function() {
            var searchText = input.value.trim().toLowerCase();
            var keywords = searchText.split(/[\s\-]+/);
            if (keywords.length > 1) {
              keywords.push(searchText);
            }
            var resultItems = [];
            if (searchText.length > 0) {
              // perform local searching
              datas.forEach(function(data) {
                var isMatch = false;
                var hitCount = 0;
                var searchTextCount = 0;
                var title = data.title.trim();
                var titleInLowerCase = title.toLowerCase();
                var content = data.content.trim().replace(/<[^>]+>/g,"");
                var contentInLowerCase = content.toLowerCase();
                var articleUrl = decodeURIComponent(data.url);
                var indexOfTitle = [];
                var indexOfContent = [];
                // only match articles with not empty titles
                if(title != '') {
                  keywords.forEach(function(keyword) {
                    function getIndexByWord(word, text, caseSensitive) {
                      var wordLen = word.length;
                      if (wordLen === 0) {
                        return [];
                      }
                      var startPosition = 0, position = [], index = [];
                      if (!caseSensitive) {
                        text = text.toLowerCase();
                        word = word.toLowerCase();
                      }
                      while ((position = text.indexOf(word, startPosition)) > -1) {
                        index.push({position: position, word: word});
                        startPosition = position + wordLen;
                      }
                      return index;
                    }

                    indexOfTitle = indexOfTitle.concat(getIndexByWord(keyword, titleInLowerCase, false));
                    indexOfContent = indexOfContent.concat(getIndexByWord(keyword, contentInLowerCase, false));
                  });
                  if (indexOfTitle.length > 0 || indexOfContent.length > 0) {
                    isMatch = true;
                    hitCount = indexOfTitle.length + indexOfContent.length;
                  }
                }

                // show search results

                if (isMatch) {
                  // sort index by position of keyword

                  [indexOfTitle, indexOfContent].forEach(function (index) {
                    index.sort(function (itemLeft, itemRight) {
                      if (itemRight.position !== itemLeft.position) {
                        return itemRight.position - itemLeft.position;
                      } else {
                        return itemLeft.word.length - itemRight.word.length;
                      }
                    });
                  });

                  // merge hits into slices

                  function mergeIntoSlice(text, start, end, index) {
                    var item = index[index.length - 1];
                    var position = item.position;
                    var word = item.word;
                    var hits = [];
                    var searchTextCountInSlice = 0;
                    while (position + word.length <= end && index.length != 0) {
                      if (word === searchText) {
                        searchTextCountInSlice++;
                      }
                      hits.push({position: position, length: word.length});
                      var wordEnd = position + word.length;

                      // move to next position of hit

                      index.pop();
                      while (index.length != 0) {
                        item = index[index.length - 1];
                        position = item.position;
                        word = item.word;
                        if (wordEnd > position) {
                          index.pop();
                        } else {
                          break;
                        }
                      }
                    }
                    searchTextCount += searchTextCountInSlice;
                    return {
                      hits: hits,
                      start: start,
                      end: end,
                      searchTextCount: searchTextCountInSlice
                    };
                  }

                  var slicesOfTitle = [];
                  if (indexOfTitle.length != 0) {
                    slicesOfTitle.push(mergeIntoSlice(title, 0, title.length, indexOfTitle));
                  }

                  var slicesOfContent = [];
                  while (indexOfContent.length != 0) {
                    var item = indexOfContent[indexOfContent.length - 1];
                    var position = item.position;
                    var word = item.word;
                    // cut out 100 characters
                    var start = position - 20;
                    var end = position + 80;
                    if(start < 0){
                      start = 0;
                    }
                    if (end < position + word.length) {
                      end = position + word.length;
                    }
                    if(end > content.length){
                      end = content.length;
                    }
                    slicesOfContent.push(mergeIntoSlice(content, start, end, indexOfContent));
                  }

                  // sort slices in content by search text's count and hits' count

                  slicesOfContent.sort(function (sliceLeft, sliceRight) {
                    if (sliceLeft.searchTextCount !== sliceRight.searchTextCount) {
                      return sliceRight.searchTextCount - sliceLeft.searchTextCount;
                    } else if (sliceLeft.hits.length !== sliceRight.hits.length) {
                      return sliceRight.hits.length - sliceLeft.hits.length;
                    } else {
                      return sliceLeft.start - sliceRight.start;
                    }
                  });

                  // select top N slices in content

                  var upperBound = parseInt('1');
                  if (upperBound >= 0) {
                    slicesOfContent = slicesOfContent.slice(0, upperBound);
                  }

                  // highlight title and content

                  function highlightKeyword(text, slice) {
                    var result = '';
                    var prevEnd = slice.start;
                    slice.hits.forEach(function (hit) {
                      result += text.substring(prevEnd, hit.position);
                      var end = hit.position + hit.length;
                      result += '<b class="search-keyword">' + text.substring(hit.position, end) + '</b>';
                      prevEnd = end;
                    });
                    result += text.substring(prevEnd, slice.end);
                    return result;
                  }

                  var resultItem = '';

                  if (slicesOfTitle.length != 0) {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + highlightKeyword(title, slicesOfTitle[0]) + "</a>";
                  } else {
                    resultItem += "<li><a href='" + articleUrl + "' class='search-result-title'>" + title + "</a>";
                  }

                  slicesOfContent.forEach(function (slice) {
                    resultItem += "<a href='" + articleUrl + "'>" +
                      "<p class=\"search-result\">" + highlightKeyword(content, slice) +
                      "...</p>" + "</a>";
                  });

                  resultItem += "</li>";
                  resultItems.push({
                    item: resultItem,
                    searchTextCount: searchTextCount,
                    hitCount: hitCount,
                    id: resultItems.length
                  });
                }
              })
            };
            if (keywords.length === 1 && keywords[0] === "") {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-search fa-5x" /></div>'
            } else if (resultItems.length === 0) {
              resultContent.innerHTML = '<div id="no-result"><i class="fa fa-frown-o fa-5x" /></div>'
            } else {
              resultItems.sort(function (resultLeft, resultRight) {
                if (resultLeft.searchTextCount !== resultRight.searchTextCount) {
                  return resultRight.searchTextCount - resultLeft.searchTextCount;
                } else if (resultLeft.hitCount !== resultRight.hitCount) {
                  return resultRight.hitCount - resultLeft.hitCount;
                } else {
                  return resultRight.id - resultLeft.id;
                }
              });
              var searchResultList = '<ul class=\"search-result-list\">';
              resultItems.forEach(function (result) {
                searchResultList += result.item;
              })
              searchResultList += "</ul>";
              resultContent.innerHTML = searchResultList;
            }
          }

          if ('auto' === 'auto') {
            input.addEventListener('input', inputEventFunction);
          } else {
            $('.search-icon').click(inputEventFunction);
            input.addEventListener('keypress', function (event) {
              if (event.keyCode === 13) {
                inputEventFunction();
              }
            });
          }

          // remove loading animation
          $(".local-search-pop-overlay").remove();
          $('body').css('overflow', '');

          proceedsearch();
        }
      });
    }

    // handle and trigger popup window;
    $('.popup-trigger').click(function(e) {
      e.stopPropagation();
      if (isfetched === false) {
        searchFunc(path, 'local-search-input', 'local-search-result');
      } else {
        proceedsearch();
      };
    });

    $('.popup-btn-close').click(onPopupClose);
    $('.popup').click(function(e){
      e.stopPropagation();
    });
    $(document).on('keyup', function (event) {
      var shouldDismissSearchPopup = event.which === 27 &&
        $('.search-popup').is(':visible');
      if (shouldDismissSearchPopup) {
        onPopupClose();
      }
    });
  </script>





  

  

  

  
  

  

  

  

  
<script>
  ((window.gitter = {}).chat = {}).options = {
    //room替换成自己的聊天室名称即可，room的名称规则是：username/roomname
    room: 'sushengbuhuo-chat/mychat'
  };
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>

</body>
</html>
